From 6f696339db83972858df16913a1c0e3eba1fd07b Mon Sep 17 00:00:00 2001 From: Geoff Jacobs Date: Fri, 14 Oct 2022 10:10:34 +1100 Subject: [PATCH] need to pre-create the shared folder structure --- roles/product_install/tasks/no_op.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/roles/product_install/tasks/no_op.yml b/roles/product_install/tasks/no_op.yml index 22b9f6e..6d66c6d 100644 --- a/roles/product_install/tasks/no_op.yml +++ b/roles/product_install/tasks/no_op.yml @@ -1,6 +1,14 @@ --- +- name: Create the product local home directory + ansible.builtin.file: + path: "{{ atl_product_home }}/shared" + state: directory + owner: "{{ atl_product_user }}" + group: "{{ atl_product_user }}" + mode: "0644" + - name: Symlink the the shared home - file: + ansible.builtin.file: src: "{{ atl_shared_mountpoint }}/{{ atl_product_edition }}/shared" dest: "{{ atl_product_home }}/shared" state: link