2016-03-05 21:46:54 +07:00
|
|
|
---
|
|
|
|
|
2017-07-27 19:25:22 +07:00
|
|
|
- name: APT | Install webapps
|
|
|
|
apt:
|
|
|
|
pkg: "{{ item }}"
|
|
|
|
state: present
|
|
|
|
install_recommends: no
|
2016-03-05 21:46:54 +07:00
|
|
|
with_items:
|
|
|
|
- backuppc
|
2016-08-25 23:17:32 +07:00
|
|
|
# - owncloud
|
2016-03-05 21:46:54 +07:00
|
|
|
|
2017-07-27 19:25:22 +07:00
|
|
|
- name: APT | Install nagios3 (only on old Debian releases)
|
|
|
|
apt:
|
|
|
|
pkg: nagios3
|
|
|
|
state: present
|
2017-07-27 19:56:43 +07:00
|
|
|
when: ansible_distribution_major_version | version_compare('9', 'lt')
|
2017-07-27 19:25:22 +07:00
|
|
|
|
2016-03-05 21:46:54 +07:00
|
|
|
- name: SERVICE | Ensure backuppc is started
|
|
|
|
service: name=backuppc state=started
|