vkill.incron
Ansible-Rolle - incron
Installation von Incron.
Anforderungen
Keine.
Rollenvariablen
TODO
Abhängigkeiten
Keine.
Beispiel Playbook
mit System-Tabellen
- hosts: servers
become: true
roles:
- role: vkill.incron
incron_system_tables:
- name: demo
path: /home/
mask: IN_CREATE,IN_DELETE
command: /tmp/incron_demo.sh $# $%
mit Benutzertabellen
- hosts: servers
become: true
roles:
- role: vkill.incron
incron_user_tables:
- username: demo
lines:
- name: demo
path: /home/demo/dir1
mask: IN_CREATE,IN_DELETE
command: /tmp/incron_demo.sh $# $%
- name: demo_2
path: /home/demo/dir2
mask: IN_CREATE,IN_DELETE
command: /tmp/incron_demo.sh $# $%
Lokale Tests mit Vagrant
- Vagrant ausführen
$ vagrant up --no-provision
$ vagrant provision
Lizenz
MIT / BSD
Autoreninformationen
vkill vkill.net@gmail.com
© 2016