diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2016-04-21 00:45:28 -0400 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2016-05-05 21:23:19 -0400 |
commit | 866bab53db58352d56e33b8d97ce3b982a850cb9 (patch) | |
tree | 952e38c88c3f39a2ea7d98eafb17b85889d9a974 /playbooks/aws/openshift-cluster/update.yml | |
parent | e4c7c26436d4daf2cbccd54bc91cb5f3471c3dc0 (diff) | |
download | openshift-866bab53db58352d56e33b8d97ce3b982a850cb9.tar.gz openshift-866bab53db58352d56e33b8d97ce3b982a850cb9.tar.bz2 openshift-866bab53db58352d56e33b8d97ce3b982a850cb9.tar.xz openshift-866bab53db58352d56e33b8d97ce3b982a850cb9.zip |
aws provider fixes
- fix errors in userdata template
- update origin centos ami
- ensure ec2_tag_sub-host-type is set after launch
- disable openshift_use_dnsmasq for now
- Remove use of vars_files in includes
Diffstat (limited to 'playbooks/aws/openshift-cluster/update.yml')
-rw-r--r-- | playbooks/aws/openshift-cluster/update.yml | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/playbooks/aws/openshift-cluster/update.yml b/playbooks/aws/openshift-cluster/update.yml index bd31c42dd..ed05d61ed 100644 --- a/playbooks/aws/openshift-cluster/update.yml +++ b/playbooks/aws/openshift-cluster/update.yml @@ -1,12 +1,25 @@ --- +- hosts: localhost + gather_facts: no + tasks: + - include_vars: vars.yml + - include_vars: cluster_hosts.yml + - add_host: + name: "{{ item }}" + groups: l_oo_all_hosts + with_items: "{{ g_all_hosts }}" + +- hosts: l_oo_all_hosts + gather_facts: no + tasks: + - include_vars: vars.yml + - include_vars: cluster_hosts.yml + - name: Update - Populate oo_hosts_to_update group hosts: localhost connection: local become: no gather_facts: no - vars_files: - - vars.yml - - cluster_hosts.yml tasks: - name: Update - Evaluate oo_hosts_to_update add_host: |