diff --git a/roles/product_install/tasks/bitbucket_extra_tasks.yml b/roles/product_install/tasks/bitbucket_extra_tasks.yml deleted file mode 120000 index 55832eb..0000000 --- a/roles/product_install/tasks/bitbucket_extra_tasks.yml +++ /dev/null @@ -1 +0,0 @@ -no_op.yml \ No newline at end of file diff --git a/roles/product_install/tasks/bitbucket_extra_tasks.yml b/roles/product_install/tasks/bitbucket_extra_tasks.yml new file mode 100644 index 0000000..3990b37 --- /dev/null +++ b/roles/product_install/tasks/bitbucket_extra_tasks.yml @@ -0,0 +1,16 @@ +--- +- 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: "0754" + +- name: Symlink the the shared home + ansible.builtin.file: + src: "{{ atl_shared_mountpoint }}/{{ atl_product_edition }}/shared" + dest: "{{ atl_product_home }}/shared" + state: link + force: true + when: not skip_shared_home_symlink | bool