From ed14988005103c9059697ef505504c4f470befdf Mon Sep 17 00:00:00 2001 From: Lee Goolsbee Date: Tue, 26 Mar 2024 17:49:16 -0500 Subject: [PATCH] ensure atl_product_home exists and is owned by product user --- roles/product_install/tasks/mesh_extra_tasks.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/product_install/tasks/mesh_extra_tasks.yml b/roles/product_install/tasks/mesh_extra_tasks.yml index ed97d53..933c495 100644 --- a/roles/product_install/tasks/mesh_extra_tasks.yml +++ b/roles/product_install/tasks/mesh_extra_tasks.yml @@ -1 +1,9 @@ --- +- 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