diff options
author | Matt Woodson <mwoodson@gmail.com> | 2015-02-24 14:54:25 -0500 |
---|---|---|
committer | Matt Woodson <mwoodson@gmail.com> | 2015-02-24 14:54:25 -0500 |
commit | 50f53296253953fb2d3fff6bd7d7d3e538b9430b (patch) | |
tree | b36794ef63768bab4f0fdab2fe87302c3805730d /playbooks/aws/ansible-tower/config.yml | |
parent | 0d0b7fa2bba160e8d04ba0f67a0de5c7a06499db (diff) | |
parent | 44e939dba128ea0a02112af555fdf085edacf464 (diff) | |
download | openshift-50f53296253953fb2d3fff6bd7d7d3e538b9430b.tar.gz openshift-50f53296253953fb2d3fff6bd7d7d3e538b9430b.tar.bz2 openshift-50f53296253953fb2d3fff6bd7d7d3e538b9430b.tar.xz openshift-50f53296253953fb2d3fff6bd7d7d3e538b9430b.zip |
Merge pull request #78 from mwoodson/tower_install
tower install
Diffstat (limited to 'playbooks/aws/ansible-tower/config.yml')
-rw-r--r-- | playbooks/aws/ansible-tower/config.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/playbooks/aws/ansible-tower/config.yml b/playbooks/aws/ansible-tower/config.yml new file mode 100644 index 000000000..423860828 --- /dev/null +++ b/playbooks/aws/ansible-tower/config.yml @@ -0,0 +1,22 @@ +--- +- name: "populate oo_hosts_to_config host group if needed" + hosts: localhost + gather_facts: no + tasks: + - name: Evaluate oo_host_group_exp if it's set + add_host: "name={{ item }} groups=oo_hosts_to_config" + with_items: "{{ oo_host_group_exp | default(['']) }}" + when: oo_host_group_exp is defined + +- name: "Configure instances" + hosts: oo_hosts_to_config + connection: ssh + user: root + vars_files: + - vars.yml + - "vars.{{ oo_env }}.yml" + roles: + - ../../../roles/base_os + - ../../../roles/os_ipv6_disable + - ../../../roles/ansible + - ../../../roles/ansible_tower |