mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-15 09:23:06 -06:00
22 lines
537 B
YAML
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
|
|
'?:? (?)' }}
|