diff options
author | ewolinetz <ewolinet@redhat.com> | 2017-01-11 15:26:46 -0600 |
---|---|---|
committer | ewolinetz <ewolinet@redhat.com> | 2017-01-12 10:55:38 -0600 |
commit | 06c111d22641ba5cc2dbbe0144d9d6722d94f159 (patch) | |
tree | 0d01d1b33fd69b386c17c0a32c51ed091a860363 /roles/openshift_logging/tasks/install_logging.yaml | |
parent | a8c2999d94548d1c82b75387ef33d2e3f5c67536 (diff) | |
download | openshift-06c111d22641ba5cc2dbbe0144d9d6722d94f159.tar.gz openshift-06c111d22641ba5cc2dbbe0144d9d6722d94f159.tar.bz2 openshift-06c111d22641ba5cc2dbbe0144d9d6722d94f159.tar.xz openshift-06c111d22641ba5cc2dbbe0144d9d6722d94f159.zip |
addressing comments
Diffstat (limited to 'roles/openshift_logging/tasks/install_logging.yaml')
-rw-r--r-- | roles/openshift_logging/tasks/install_logging.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_logging/tasks/install_logging.yaml b/roles/openshift_logging/tasks/install_logging.yaml index 591f11476..09630e213 100644 --- a/roles/openshift_logging/tasks/install_logging.yaml +++ b/roles/openshift_logging/tasks/install_logging.yaml @@ -24,14 +24,14 @@ loop_var: install_component - name: Register API objects from generated templates - shell: ls -d -1 {{mktemp.stdout}}/templates/* | sort + command: ls -1 {{mktemp.stdout}}/templates/ register: logging_objects check_mode: no - name: Creating API objects from generated templates command: > - {{ openshift.common.client_binary }} --config={{ mktemp.stdout }}/admin.kubeconfig apply -f {{file}} -n {{openshift_logging_namespace}} - with_items: "{{logging_objects.stdout_lines}}" + {{ openshift.common.client_binary }} --config={{ mktemp.stdout }}/admin.kubeconfig apply -f {{mktemp.stdout}}/templates/{{file}} -n {{openshift_logging_namespace}} + with_items: "{{logging_objects.stdout_lines | sort}}" loop_control: loop_var: file when: not ansible_check_mode |