mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
DCD-791: Symlink both the local shared-home and attachments into the shared drive.
This commit is contained in:
@@ -14,11 +14,26 @@
|
|||||||
- "{{ atl_product_shared_plugins }}"
|
- "{{ atl_product_shared_plugins }}"
|
||||||
changed_when: false # For Molecule idempotence check
|
changed_when: false # For Molecule idempotence check
|
||||||
|
|
||||||
|
# Create symlink to force single (unclustered) Confluence to store
|
||||||
|
# shared-data and attachments in the shared drive.
|
||||||
- name: Symlink local attachments to shared storage
|
- name: Symlink local attachments to shared storage
|
||||||
# Create symlink to force single (unclustered) Confluence to store
|
|
||||||
# attachment in the shared drive.
|
|
||||||
file:
|
file:
|
||||||
path: "{{ atl_product_home_shared }}/attachments/"
|
src: "{{ item[0] }}"
|
||||||
|
dest: "{{ item[1] }}"
|
||||||
|
force: false
|
||||||
|
state: link
|
||||||
|
mode: 0750
|
||||||
|
owner: "{{ atl_product_user }}"
|
||||||
|
group: "{{ atl_product_user }}"
|
||||||
|
with_items:
|
||||||
|
- ["{{ atl_product_home_shared }}/",
|
||||||
|
"{{ atl_product_home }}/shared-home/"]
|
||||||
|
- ["{{ atl_product_home_shared }}/attachments/",
|
||||||
|
"{{ atl_product_home }}/attachments/"]
|
||||||
|
|
||||||
|
- name: Symlink local attachments to shared storage
|
||||||
|
file:
|
||||||
|
src: "{{ atl_product_home_shared }}/attachments/"
|
||||||
dest: "{{ atl_product_home }}/attachments/"
|
dest: "{{ atl_product_home }}/attachments/"
|
||||||
force: false
|
force: false
|
||||||
state: link
|
state: link
|
||||||
|
|||||||
Reference in New Issue
Block a user