diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-04-12 20:15:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-12 20:15:24 -0500 |
commit | 92723e8a6425e7a8b03d3413586cdd09b74d8a3e (patch) | |
tree | d2a6a3d2b4255a85629669c6a40fa9e757ea6925 /playbooks/byo/openshift-node | |
parent | eb506980d5457d32737eecfbc9c83d4a1942e95b (diff) | |
parent | 558796bc195e6f17b11918ea877eb55c8ed0bb26 (diff) | |
download | openshift-92723e8a6425e7a8b03d3413586cdd09b74d8a3e.tar.gz openshift-92723e8a6425e7a8b03d3413586cdd09b74d8a3e.tar.bz2 openshift-92723e8a6425e7a8b03d3413586cdd09b74d8a3e.tar.xz openshift-92723e8a6425e7a8b03d3413586cdd09b74d8a3e.zip |
Merge pull request #3895 from mtnbikenc/playbook-refactor
Merged by openshift-bot
Diffstat (limited to 'playbooks/byo/openshift-node')
-rw-r--r-- | playbooks/byo/openshift-node/restart.yml | 4 | ||||
-rw-r--r-- | playbooks/byo/openshift-node/scaleup.yml | 24 |
2 files changed, 5 insertions, 23 deletions
diff --git a/playbooks/byo/openshift-node/restart.yml b/playbooks/byo/openshift-node/restart.yml index 6861625b9..92665d71d 100644 --- a/playbooks/byo/openshift-node/restart.yml +++ b/playbooks/byo/openshift-node/restart.yml @@ -1,4 +1,8 @@ --- +- include: ../openshift-cluster/initialize_groups.yml + tags: + - always + - include: ../../common/openshift-cluster/std_include.yml tags: - always diff --git a/playbooks/byo/openshift-node/scaleup.yml b/playbooks/byo/openshift-node/scaleup.yml index 88d236b53..c6965fd6f 100644 --- a/playbooks/byo/openshift-node/scaleup.yml +++ b/playbooks/byo/openshift-node/scaleup.yml @@ -1,27 +1,5 @@ --- -- 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 - add_host: - name: "{{ item }}" - groups: l_oo_all_hosts - with_items: "{{ g_all_hosts | default([]) }}" - changed_when: False - -- 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 +- include: ../openshift-cluster/initialize_groups.yml - include: ../../common/openshift-node/scaleup.yml vars: |