mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
28 lines
665 B
YAML
28 lines
665 B
YAML
---
|
|
|
|
- name: Create Bitbucket config file
|
|
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
|
|
file:
|
|
path: "{{ atl_product_installation_versioned }}"
|
|
owner: "root"
|
|
group: "root"
|
|
mode: "u=rwX,g=rX,o=rX"
|
|
recurse: true
|
|
|
|
- name: "Install Bitbucket service file"
|
|
template:
|
|
src: "bitbucket.service.j2"
|
|
dest: "/etc/systemd/system/bitbucket.service"
|
|
|
|
- name: Enable Bitbucket
|
|
service:
|
|
name: bitbucket.service
|
|
enabled: true
|
|
state: started
|