mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
ITPLT-3785 can't recursively manage permissions on a single file; manage permissions for atl_product_version_cache file when written instead
This commit is contained in:
@@ -75,16 +75,13 @@
|
||||
- "{{ atl_product_shared_plugins }}"
|
||||
changed_when: false # For Molecule idempotence check
|
||||
|
||||
- name: Limit permissions on the installer temp and version cache directories, recursively
|
||||
- name: Limit permissions on the installer temp directory, recursively
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
path: "{{ atl_installer_temp }}"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "u=rwX,g=rX,o=rX"
|
||||
recurse: true
|
||||
with_items:
|
||||
- "{{ atl_installer_temp }}"
|
||||
- "{{ atl_product_version_cache }}"
|
||||
changed_when: false # For Molecule idempotence check
|
||||
|
||||
- name: Limit permissions on the installation directory, non-recursively
|
||||
|
||||
Reference in New Issue
Block a user