Explorar o código

Only call excluder playbooks on masters and nodes

Scott Dodson %!s(int64=8) %!d(string=hai) anos
pai
achega
99ecae9c1d

+ 1 - 1
playbooks/common/openshift-cluster/disable_excluder.yml

@@ -1,6 +1,6 @@
 ---
 - name: Record excluder state and disable
-  hosts: l_oo_all_hosts
+  hosts: oo_masters_to_config:oo_nodes_to_config
   gather_facts: no
   tasks:
 

+ 1 - 1
playbooks/common/openshift-cluster/reset_excluder.yml

@@ -1,6 +1,6 @@
 ---
 - name: Re-enable excluder if it was previously enabled
-  hosts: l_oo_all_hosts
+  hosts: oo_masters_to_config:oo_nodes_to_config
   gather_facts: no
   tasks:
   - include_role:

+ 1 - 1
playbooks/common/openshift-cluster/upgrades/disable_excluder.yml

@@ -1,6 +1,6 @@
 ---
 - name: Record excluder state and disable
-  hosts: l_oo_all_hosts
+  hosts: oo_masters_to_config:oo_nodes_to_config
   gather_facts: no
   tasks:
   - include: pre/validate_excluder.yml