34 lines
790 B
YAML
34 lines
790 B
YAML
---
|
|
|
|
#- name: APT | Install web apps
|
|
# pkgng:
|
|
# pkg: "{{ item }}"
|
|
# state: present
|
|
# with_items:
|
|
# - nagios
|
|
# - 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
|
|
#
|
|
#- name: FILE | Fix fcgiwrap permission
|
|
# file:
|
|
# path: "{{ nginx_fcgiwrap_sock }}"
|
|
# mode: 0640
|
|
# owner: "{{ nginx_user }}"
|
|
# group: "{{ nginx_user }}"
|
|
|
|
#
|
|
# We don't manage BackupPC on FreeBSD... too dirty. :/
|
|
#
|
|
#- name: SERVICE | Ensure backuppc is started
|
|
# service: name=backuppc state=started enabled=yes
|