mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 00:13:09 -06:00
ITPLT-3785 only recurse if the item is a directory
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "u=rwX,g=rX,o=rX"
|
||||
recurse: true
|
||||
recurse: "{{ item.isdir }}"
|
||||
loop: "{{ atl_product_installation_versioned_file_list.files }}"
|
||||
changed_when: false # For Molecule idempotence check
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "u=rwX,g=rX,o=rX"
|
||||
recurse: true
|
||||
recurse: "{{ item.isdir }}"
|
||||
loop: "{{ atl_product_installation_versioned_file_list.files + atl_product_installation_versioned_tomcat_file_list.files }}"
|
||||
changed_when: false # For Molecule idempotence check
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "u=rwX,g=rX,o=rX"
|
||||
recurse: true
|
||||
recurse: "{{ item.isdir }}"
|
||||
loop: "{{ atl_product_installation_versioned_file_list.files }}"
|
||||
changed_when: false # For Molecule idempotence check
|
||||
|
||||
|
||||
Reference in New Issue
Block a user