2016-03-05 21:46:54 +07:00
|
|
|
---
|
|
|
|
|
2018-03-17 03:56:15 +07:00
|
|
|
#- name: APT | Install web apps
|
|
|
|
# pkgng:
|
|
|
|
# pkg: "{{ item }}"
|
|
|
|
# state: present
|
|
|
|
# with_items:
|
|
|
|
# - backuppc
|
|
|
|
#
|
|
|
|
#- name: COMMAND | Activate backuppc config
|
|
|
|
# command: >
|
|
|
|
# cp /usr/local/etc/backuppc/config.pl.sample /usr/local/etc/backuppc/config.pl
|
|
|
|
# creates=/usr/local/etc/backuppc/config.pl
|
|
|
|
#
|
|
|
|
#- name: FILE | Fix backuppc permissions
|
|
|
|
# file:
|
|
|
|
# path: /usr/local/etc/backuppc/config.pl
|
|
|
|
# owner: backuppc
|
|
|
|
# group: backuppc
|
|
|
|
#
|
2016-03-06 00:34:04 +07:00
|
|
|
#
|
|
|
|
# We don't manage BackupPC on FreeBSD... too dirty. :/
|
|
|
|
#
|
|
|
|
#- name: SERVICE | Ensure backuppc is started
|
|
|
|
# service: name=backuppc state=started enabled=yes
|