瀏覽代碼

Merge pull request #8848 from mtnbikenc/fix-1591186

Add node_group_checks to openshift_node_group.yml
Scott Dodson 6 年之前
父節點
當前提交
5be66a6961
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      playbooks/openshift-master/private/openshift_node_group.yml

+ 6 - 0
playbooks/openshift-master/private/openshift_node_group.yml

@@ -2,7 +2,13 @@
 - name: Configure node configmap on the master
   hosts: oo_first_master
   gather_facts: no
+  roles:
+  - role: openshift_facts
+  - role: lib_utils
   tasks:
+  # node_group_checks is a custom action plugin defined in lib_utils.
+  - name: Validate openshift_node_groups and openshift_node_group_name
+    node_group_checks: {}
   - name: include openshift node config
     import_role:
       name: openshift_node_group