Michael Grote
154a6d6c41
Reviewed-on: #649 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
16 lines
315 B
YAML
16 lines
315 B
YAML
---
|
|
- name: ensure etckeeper is installed
|
|
become: true
|
|
ansible.builtin.package:
|
|
name:
|
|
- etckeeper
|
|
- git
|
|
state: present
|
|
install_recommends: false
|
|
|
|
- name: ensure repository is initialized
|
|
ansible.builtin.command: etckeeper init
|
|
args:
|
|
chdir: /etc/
|
|
creates: /etc/.etckeeper
|
|
...
|