Browse Source

add task to import_role

Davis Phillips 6 years ago
parent
commit
a42d5030ac
1 changed files with 7 additions and 6 deletions
  1. 7 6
      playbooks/openshift-master/private/additional_config.yml

+ 7 - 6
playbooks/openshift-master/private/additional_config.yml

@@ -53,12 +53,13 @@
 
 - name: update vsphere provider master config
   hosts: oo_masters_to_config
-  import_role:
-    name: openshift_cloud_provider
-    tasks_from: update-vsphere
-  when:
-  - openshift_cloudprovider_kind is defined
-  - openshift_cloudprovider_kind == 'vsphere'
+  tasks:
+  - import_role:
+      name: openshift_cloud_provider
+      tasks_from: update-vsphere
+    when:
+    - openshift_cloudprovider_kind is defined
+    - openshift_cloudprovider_kind == 'vsphere'
 
 - name: Master Additional Install Checkpoint End
   hosts: all