Move chdir under args for shell task
This should fix a syntax issue on ansible 2.7. Change-Id: I006ff64c40875b8f1edd1e9f9bdfe509e2bdb295 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
05d6187825
commit
a5dbe86b4b
@ -83,7 +83,8 @@
|
||||
- name: Rename log files that match extension_list
|
||||
shell: "mv {{ item.path }} {{ item.path | regex_replace(extensions_regex, '\\1_\\2.txt') }}"
|
||||
with_items: "{{ log_files_to_rename.files }}"
|
||||
chdir: "{{ stage_dir }}/logs"
|
||||
args:
|
||||
chdir: "{{ stage_dir }}/logs"
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user