소스 검색

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