parent
1239219d90
commit
a03a656b18
|
@ -36,7 +36,7 @@ Vagrant.configure("2") do |config|
|
||||||
ansible.playbook = "tests/test.yml"
|
ansible.playbook = "tests/test.yml"
|
||||||
ansible.verbose = 'vv'
|
ansible.verbose = 'vv'
|
||||||
ansible.become = true
|
ansible.become = true
|
||||||
ansible.extra_vars = opts[:vars].merge({ "nginx_debug_role": true })
|
ansible.extra_vars = opts[:vars].merge({ "nginx_debug_role": true, is_docker: true })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: APT | Install webapps
|
- name: APT | Install webapps and related tools
|
||||||
apt:
|
apt:
|
||||||
pkg: "{{ packages }}"
|
pkg: "{{ packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -8,8 +8,12 @@
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- backuppc
|
- backuppc
|
||||||
|
- samba-common-bin
|
||||||
|
- smbclient
|
||||||
|
|
||||||
- name: SERVICE | Ensure backuppc is started
|
- name: SERVICE | Ensure backuppc is started
|
||||||
service:
|
service:
|
||||||
name: backuppc
|
name: backuppc
|
||||||
state: started
|
state: started
|
||||||
|
register: b
|
||||||
|
failed_when: b.failed and 'Another BackupPC is running' not in b.msg
|
||||||
|
|
Loading…
Reference in New Issue