vkill.incron

Ansible Role - incron

Build Status

Installation of Incron.

Requirements

None needed.

Role Variables

TODO

Dependencies

None needed.

Example Playbook

Using system tables

- 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 $# $%

Detailed example

Using user tables

- 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 $# $%

Local Testing with Vagrant

  • Start Vagrant
$ vagrant up --no-provision
$ vagrant provision

License

MIT / BSD

Author Information

vkill vkill.net@gmail.com

© 2016

Informazioni sul progetto

incron

Installa
ansible-galaxy install vkill.incron
Licenza
Unknown
Download
6.2k
Proprietario