Browse Source

Merge pull request #6660 from mgugino-upstream-stage/fix-logging-static

Fix: change import_role to include_role
Michael Gugino 7 years ago
parent
commit
b144534935
1 changed files with 3 additions and 1 deletions
  1. 3 1
      roles/openshift_logging_elasticsearch/tasks/main.yaml

+ 3 - 1
roles/openshift_logging_elasticsearch/tasks/main.yaml

@@ -181,7 +181,9 @@
   changed_when: no
 
 # create diff between current configmap files and our current files
-- import_role:
+# NOTE: include_role must be used instead of import_role because
+# this task file is looped over from another role.
+- include_role:
     name: openshift_logging
     tasks_from: patch_configmap_files.yaml
   vars: