DCD-386: Fix some Molecule tests.

This commit is contained in:
Steve Smith
2019-06-03 12:13:51 +10:00
parent 26d14d9f21
commit adeb027473
7 changed files with 32 additions and 5 deletions

View 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

View File

@@ -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"

View File

@@ -15,6 +15,6 @@
- name: Install git
package:
name: git
roles:
- role: diy_backup

View File

@@ -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"

View 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

View File

@@ -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

View File

@@ -14,6 +14,6 @@
file:
path: '/etc/systemd/system/'
state: directory
roles:
- role: product_startup