diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-03-18 13:25:18 -0400 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2015-03-24 11:23:25 -0700 |
commit | 9575258e5a1b8f9ee8ec7ffc7ad74fa5dfeabc00 (patch) | |
tree | 91452465b425fb09ececa4ea22d08d13dd7261aa /playbooks/gce | |
parent | 13dc8505feb93adc311a4a2d8e714c7d1e61cf1f (diff) | |
download | openshift-9575258e5a1b8f9ee8ec7ffc7ad74fa5dfeabc00.tar.gz openshift-9575258e5a1b8f9ee8ec7ffc7ad74fa5dfeabc00.tar.bz2 openshift-9575258e5a1b8f9ee8ec7ffc7ad74fa5dfeabc00.tar.xz openshift-9575258e5a1b8f9ee8ec7ffc7ad74fa5dfeabc00.zip |
replace oo_hosts_to_config with oo_nodes_to_config and oo_masters_to_config
Diffstat (limited to 'playbooks/gce')
-rw-r--r-- | playbooks/gce/openshift-master/launch.yml | 4 | ||||
-rw-r--r-- | playbooks/gce/openshift-node/config.yml | 1 | ||||
-rw-r--r-- | playbooks/gce/openshift-node/launch.yml | 8 |
3 files changed, 6 insertions, 7 deletions
diff --git a/playbooks/gce/openshift-master/launch.yml b/playbooks/gce/openshift-master/launch.yml index f2800b061..3512274cc 100644 --- a/playbooks/gce/openshift-master/launch.yml +++ b/playbooks/gce/openshift-master/launch.yml @@ -24,8 +24,8 @@ tags: "{{ oo_new_inst_tags }}" register: gce - - name: Add new instances public IPs to oo_hosts_to_config - add_host: "hostname={{ item.name }} ansible_ssh_host={{ item.public_ip }} groupname=oo_hosts_to_config" + - name: Add new instances public IPs to oo_masters_to_config + add_host: "hostname={{ item.name }} ansible_ssh_host={{ item.public_ip }} groupname=oo_masters_to_config" with_items: gce.instance_data - name: Wait for ssh diff --git a/playbooks/gce/openshift-node/config.yml b/playbooks/gce/openshift-node/config.yml index 9d87c4e8f..d24acb8fa 100644 --- a/playbooks/gce/openshift-node/config.yml +++ b/playbooks/gce/openshift-node/config.yml @@ -121,4 +121,3 @@ vars_files: - openshift_node - os_env_extras - os_env_extras_node - diff --git a/playbooks/gce/openshift-node/launch.yml b/playbooks/gce/openshift-node/launch.yml index 935599efd..ca2914d8a 100644 --- a/playbooks/gce/openshift-node/launch.yml +++ b/playbooks/gce/openshift-node/launch.yml @@ -24,8 +24,8 @@ tags: "{{ oo_new_inst_tags }}" register: gce - - name: Add new instances public IPs to oo_hosts_to_config - add_host: "hostname={{ item.name }} ansible_ssh_host={{ item.public_ip }} groupname=oo_hosts_to_config" + - name: Add new instances public IPs to oo_nodes_to_config + add_host: "hostname={{ item.name }} ansible_ssh_host={{ item.public_ip }} groupname=oo_nodes_to_config" with_items: gce.instance_data - name: Wait for ssh @@ -48,10 +48,10 @@ # Always bounce service to pick up new credentials #- name: "Restart instances" -# hosts: oo_hosts_to_config +# hosts: oo_nodes_to_config # connection: ssh # user: root # tasks: -# - debug: var=groups.oo_hosts_to_config +# - debug: var=groups.oo_nodes_to_config # - name: Restart OpenShift # service: name=openshift-node enabled=yes state=restarted |