diff options
author | Matt Woodson <mwoodson@redhat.com> | 2015-02-13 09:50:35 -0500 |
---|---|---|
committer | Matt Woodson <mwoodson@redhat.com> | 2015-02-13 09:50:35 -0500 |
commit | 71c0c0c6d3dd2b3360604b118b496107b0f76d37 (patch) | |
tree | a59f17f686b03f2f614552ed0de28708f68f7793 /playbooks/aws/ansible-tower/config.yml | |
parent | aafbcce3605b7f992ba4b73d67286dbb40461baa (diff) | |
download | openshift-71c0c0c6d3dd2b3360604b118b496107b0f76d37.tar.gz openshift-71c0c0c6d3dd2b3360604b118b496107b0f76d37.tar.bz2 openshift-71c0c0c6d3dd2b3360604b118b496107b0f76d37.tar.xz openshift-71c0c0c6d3dd2b3360604b118b496107b0f76d37.zip |
added initial tower configs
Diffstat (limited to 'playbooks/aws/ansible-tower/config.yml')
-rw-r--r-- | playbooks/aws/ansible-tower/config.yml | 20 |
1 files changed, 20 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..0124156a9 --- /dev/null +++ b/playbooks/aws/ansible-tower/config.yml @@ -0,0 +1,20 @@ +--- +- 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/atomic_base + - ../../../roles/atomic_proxy |