ansible role to install etckeeper on debian/fedora/centos
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
neingeist c505d66f60 rename avoid_autocommits to etckeeper_avoid_autocommits 8 years ago
defaults rename avoid_autocommits to etckeeper_avoid_autocommits 8 years ago
tasks add an optional post-commit hook to send a commit email 8 years ago
templates rename avoid_autocommits to etckeeper_avoid_autocommits 8 years ago
README.md rename avoid_autocommits to etckeeper_avoid_autocommits 8 years ago

README.md

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 }