diff options
author | Jason DeTiberus <detiber@gmail.com> | 2017-01-29 00:05:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-29 00:05:13 -0500 |
commit | e11ecff826aba160fee68c35f954eb86f92d670f (patch) | |
tree | 780d0428cbea6a0b8e903b776104cf88fe3d32b4 /playbooks/byo/openshift-master | |
parent | 9231620fc6007b2c35f859929f67242954d0d77e (diff) | |
parent | f606ccc1623a422878ab48b4451124453c7c6ded (diff) | |
download | openshift-e11ecff826aba160fee68c35f954eb86f92d670f.tar.gz openshift-e11ecff826aba160fee68c35f954eb86f92d670f.tar.bz2 openshift-e11ecff826aba160fee68c35f954eb86f92d670f.tar.xz openshift-e11ecff826aba160fee68c35f954eb86f92d670f.zip |
Merge pull request #3215 from mtnbikenc/std-play-naming
Standardize entry-point playbooks with named plays
Diffstat (limited to 'playbooks/byo/openshift-master')
-rw-r--r-- | playbooks/byo/openshift-master/restart.yml | 10 | ||||
-rw-r--r-- | playbooks/byo/openshift-master/scaleup.yml | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/playbooks/byo/openshift-master/restart.yml b/playbooks/byo/openshift-master/restart.yml index c468a898d..3e58ccbcc 100644 --- a/playbooks/byo/openshift-master/restart.yml +++ b/playbooks/byo/openshift-master/restart.yml @@ -1,8 +1,11 @@ --- -- hosts: localhost +- name: Create initial host groups for localhost + hosts: localhost connection: local become: no gather_facts: no + tags: + - always tasks: - include_vars: ../../byo/openshift-cluster/cluster_hosts.yml - name: Evaluate group l_oo_all_hosts @@ -12,8 +15,11 @@ with_items: "{{ g_all_hosts | default([]) }}" changed_when: False -- hosts: l_oo_all_hosts +- name: Create initial host groups for all hosts + hosts: l_oo_all_hosts gather_facts: no + tags: + - always tasks: - include_vars: ../../byo/openshift-cluster/cluster_hosts.yml diff --git a/playbooks/byo/openshift-master/scaleup.yml b/playbooks/byo/openshift-master/scaleup.yml index cb9140ee2..7075bb59e 100644 --- a/playbooks/byo/openshift-master/scaleup.yml +++ b/playbooks/byo/openshift-master/scaleup.yml @@ -1,8 +1,11 @@ --- -- hosts: localhost +- name: Create initial host groups for localhost + hosts: localhost connection: local become: no gather_facts: no + tags: + - always tasks: - include_vars: ../../byo/openshift-cluster/cluster_hosts.yml - name: Evaluate group l_oo_all_hosts @@ -12,8 +15,11 @@ with_items: "{{ g_all_hosts | default([]) }}" changed_when: False -- hosts: l_oo_all_hosts +- name: Create initial host groups for all hosts + hosts: l_oo_all_hosts gather_facts: no + tags: + - always tasks: - include_vars: ../../byo/openshift-cluster/cluster_hosts.yml |