ansible role to install etckeeper on debian/fedora/centos
Find a file
2016-08-27 16:16:48 +02:00
defaults rename avoid_autocommits to etckeeper_avoid_autocommits 2016-08-27 16:16:48 +02:00
tasks add an optional post-commit hook to send a commit email 2016-08-25 20:50:55 +02:00
templates rename avoid_autocommits to etckeeper_avoid_autocommits 2016-08-27 16:16:48 +02:00
README.md rename avoid_autocommits to etckeeper_avoid_autocommits 2016-08-27 16:16:48 +02:00

Examples

roles:
    - { role: etckeeper,                    tags: ['system', 'etckeeper']}

To avoid etckeeper autocommits (daily or before package manager runs) set avoid_autocommits to true:

roles:
    - { role: etckeeper,                    tags: ['system', 'etckeeper'],
        etckeeper_avoid_autocommits: true }

To send commit emails to root:

roles:
    - { role: etckeeper,                    tags: ['system', 'etckeeper'],
        etckeeper_avoid_autocommits: true,
        etckeeper_mailto: root }