mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
---
|
|
|
|
- name: Create Bitbucket shared dir if necessary
|
|
ansible.builtin.file:
|
|
path: "{{ atl_product_home_shared }}"
|
|
owner: "{{ atl_product_user }}"
|
|
group: "{{ atl_product_user }}"
|
|
mode: 0750
|
|
state: directory
|
|
|
|
- name: Create Bitbucket config file
|
|
ansible.builtin.template:
|
|
src: bitbucket.properties.j2
|
|
dest: "{{ atl_product_home_shared }}/bitbucket.properties"
|
|
owner: "{{ atl_product_user }}"
|
|
group: "{{ atl_product_user }}"
|
|
|
|
- name: Remove write permissions from installation directory
|
|
ansible.builtin.file:
|
|
path: "{{ atl_product_installation_versioned }}"
|
|
owner: "root"
|
|
group: "root"
|
|
mode: "u=rwX,g=rX,o=rX"
|
|
recurse: true
|
|
changed_when: false # For Molecule idempotence check
|
|
|
|
- name: Create conf/Catalina directory so catalina.out logging works
|
|
ansible.builtin.file:
|
|
path: "{{ atl_product_installation_versioned }}/conf/Catalina"
|
|
state: directory
|
|
mode: "u=rwX,g=rX,o-rwx"
|
|
owner: "{{ atl_product_user }}"
|
|
group: "{{ atl_product_user }}"
|
|
changed_when: false # For Molecule idempotence check
|