mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
debugging
This commit is contained in:
@@ -11,6 +11,18 @@
|
||||
- "{{ atl_product_home }}/caches"
|
||||
- "{{ atl_product_home }}/log"
|
||||
|
||||
- stat:
|
||||
path: "{{ atl_product_home }}"
|
||||
register: xxx
|
||||
|
||||
- name: DEBUG print atl_product_home stat info
|
||||
debug:
|
||||
msg: >-
|
||||
{{ xxx.stat.uid ~ ':' ~ xxx.stat.gid ~ ' (' ~ xxx.stat.mode ~ ')'
|
||||
if xxx.stat.exists
|
||||
else
|
||||
'?:? (?)' }}
|
||||
|
||||
- name: Enforce the permissions on the pem files
|
||||
ansible.builtin.file:
|
||||
path: "{{ atl_product_home }}/config/{{ item }}"
|
||||
|
||||
@@ -54,6 +54,18 @@
|
||||
vars:
|
||||
fstype: "{{ (mesh_filesystem | length > 0) | ternary(mesh_filesystem[0], 'xfs') }}"
|
||||
|
||||
- stat:
|
||||
path: "{{ atl_product_home }}"
|
||||
register: xxx
|
||||
|
||||
- name: DEBUG print atl_product_home stat info
|
||||
debug:
|
||||
msg: >-
|
||||
{{ xxx.stat.uid ~ ':' ~ xxx.stat.gid ~ ' (' ~ xxx.stat.mode ~ ')'
|
||||
if xxx.stat.exists
|
||||
else
|
||||
'?:? (?)' }}
|
||||
|
||||
- name: Mount cache to atl_product_home/caches
|
||||
ansible.posix.mount:
|
||||
path: "{{ atl_product_home }}/caches"
|
||||
|
||||
@@ -7,3 +7,15 @@
|
||||
group: "{{ atl_product_user }}"
|
||||
mode: "0754"
|
||||
changed_when: false # For Molecule idempotence check
|
||||
|
||||
- stat:
|
||||
path: "{{ atl_product_home }}"
|
||||
register: xxx
|
||||
|
||||
- name: DEBUG print atl_product_home stat info
|
||||
debug:
|
||||
msg: >-
|
||||
{{ xxx.stat.uid ~ ':' ~ xxx.stat.gid ~ ' (' ~ xxx.stat.mode ~ ')'
|
||||
if xxx.stat.exists
|
||||
else
|
||||
'?:? (?)' }}
|
||||
|
||||
Reference in New Issue
Block a user