mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
DCD-386: Fix some Molecule tests.
This commit is contained in:
12
roles/diy_backup/.yamllint
Normal file
12
roles/diy_backup/.yamllint
Normal file
@@ -0,0 +1,12 @@
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
braces:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
brackets:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
line-length: disable
|
||||
truthy: disable
|
||||
trailing-spaces: false
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
|
||||
atl_diy_backup_repo: "https://bitbucket.org/atlassianlabs/atlassian-bitbucket-diy-backup.git"
|
||||
atl_diy_backup_dir: "{{ atl_installation_base }}/bitbucket-diy-backup"
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
- name: Install git
|
||||
package:
|
||||
name: git
|
||||
|
||||
|
||||
roles:
|
||||
- role: diy_backup
|
||||
|
||||
@@ -3,5 +3,6 @@
|
||||
|
||||
- name: Fetch the DIY backups repository
|
||||
git:
|
||||
repo: "https://bitbucket.org/atlassianlabs/atlassian-bitbucket-diy-backup.git"
|
||||
repo: "{{ atl_diy_backup_repo }}"
|
||||
dest: "{{ atl_diy_backup_dir }}"
|
||||
version: "master"
|
||||
|
||||
12
roles/product_startup/.yamllint
Normal file
12
roles/product_startup/.yamllint
Normal file
@@ -0,0 +1,12 @@
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
braces:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
brackets:
|
||||
max-spaces-inside: 1
|
||||
level: error
|
||||
line-length: disable
|
||||
truthy: disable
|
||||
trailing-spaces: false
|
||||
@@ -7,6 +7,7 @@
|
||||
when: atl_startup_restart
|
||||
|
||||
- name: Enable Product
|
||||
command: systemctl enable "{{ atl_systemd_service_name }}"
|
||||
service:
|
||||
name: "{{ atl_systemd_service_name }}"
|
||||
enabled: true
|
||||
when: atl_startup_enable
|
||||
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
file:
|
||||
path: '/etc/systemd/system/'
|
||||
state: directory
|
||||
|
||||
|
||||
roles:
|
||||
- role: product_startup
|
||||
|
||||
Reference in New Issue
Block a user