From 71c0c0c6d3dd2b3360604b118b496107b0f76d37 Mon Sep 17 00:00:00 2001 From: Matt Woodson Date: Fri, 13 Feb 2015 09:50:35 -0500 Subject: added initial tower configs --- playbooks/aws/ansible-tower/config.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 playbooks/aws/ansible-tower/config.yml (limited to 'playbooks/aws/ansible-tower/config.yml') 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 -- cgit v1.2.3