diff options
author | Russell Teague <rteague@redhat.com> | 2017-01-27 14:12:43 -0500 |
---|---|---|
committer | Russell Teague <rteague@redhat.com> | 2017-01-27 16:04:03 -0500 |
commit | f606ccc1623a422878ab48b4451124453c7c6ded (patch) | |
tree | ae60388931fefc2b3790072f5b082c806c605054 /playbooks/byo/openshift-node | |
parent | b31b6e3202e03394e8d8caf7813ee722d916d59e (diff) | |
download | openshift-f606ccc1623a422878ab48b4451124453c7c6ded.tar.gz openshift-f606ccc1623a422878ab48b4451124453c7c6ded.tar.bz2 openshift-f606ccc1623a422878ab48b4451124453c7c6ded.tar.xz openshift-f606ccc1623a422878ab48b4451124453c7c6ded.zip |
Adding names to plays and standardizing
Diffstat (limited to 'playbooks/byo/openshift-node')
-rw-r--r-- | playbooks/byo/openshift-node/network_manager.yml | 8 | ||||
-rw-r--r-- | playbooks/byo/openshift-node/scaleup.yml | 10 |
2 files changed, 14 insertions, 4 deletions
diff --git a/playbooks/byo/openshift-node/network_manager.yml b/playbooks/byo/openshift-node/network_manager.yml index 7c453986e..9bb3ea17f 100644 --- a/playbooks/byo/openshift-node/network_manager.yml +++ b/playbooks/byo/openshift-node/network_manager.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,7 +15,8 @@ with_items: "{{ g_all_hosts | default([]) }}" changed_when: False -- hosts: l_oo_all_hosts +- name: Install and configure NetworkManager + hosts: l_oo_all_hosts become: yes tasks: - name: install NetworkManager diff --git a/playbooks/byo/openshift-node/scaleup.yml b/playbooks/byo/openshift-node/scaleup.yml index 1f2509a67..2b10b6c76 100644 --- a/playbooks/byo/openshift-node/scaleup.yml +++ b/playbooks/byo/openshift-node/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 |