Skip to content

ldomb/rhsummit2017

Repository files navigation

RH Summit 2017 Roles and Playbooks

This repository hosts all playbooks and roles used for the button push RH MGMT demo done at RH Summit 2017.

Requirements

  • Ansible 2.2.1
  • Ansible vault file in group_vars/all/vault
  • Ansible Tower License
  • Satelite 6 Manifest
  • AWS cli
  • Private key for ec2 instances
  • CFME image for AWS

How is this executed

$ ansible-playbook buildrhmgmt.yaml --private-key=ldomb.pem --vault-password-file=../vaultpass -vv

A video of the full run can be found here: http://bit.ly/2oQwxxF

Dependencies

All modules and dependencies can be found in this repository

Example Playbook


- name: build ec2 instance
   hosts: localhost
   connection: local
   gather_facts: false
   user: root

   vars_files:
      - "group_vars/all/vars"
      - "group_vars/all/vault"
   roles:
      - { role: manage-ec2-instances }

- name: create tower
   hosts: tag_Type_ansibletower
   become: yes
   remote_user: ec2-user
   become_method: sudo
   gather_facts: true
   vars_files:
      - "group_vars/all/vars"
      - "group_vars/all/vault"
   roles:
      - { role: buildansibletower }

License

GPL3

Author Information

Laurent Domb @ Red Hat Inc.

About

Red Hat Management Demo Summit 2017

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages