Files
dc-deployments-automation/roles/product_install/tasks/mesh_extra_tasks.yml
Lee Goolsbee 704b4b2004 debugging
2024-03-27 09:32:26 -05:00

22 lines
537 B
YAML

---
- name: Create the product local home directory
ansible.builtin.file:
path: "{{ atl_product_home }}"
state: directory
owner: "{{ atl_product_user }}"
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
'?:? (?)' }}