aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/etckeeper/handlers/main.yml
blob: ca6beaa96da96a9f758f8c6ee7462d0a802afca7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
- name: Commit etckeeper.conf
  ansible.builtin.include_tasks: commit.yml
  vars:
    paths: [etckeeper/etckeeper.conf]
    commit_msg: configure etckeeper
  listen: etckeeper_commit_conf

- name: Commit .gitignore
  ansible.builtin.include_tasks: commit.yml
  vars:
    paths: '{{ [".gitignore"] + etckeeper_ignored_paths + etckeeper_extra_ignored_paths }}'
    commit_msg: configure ignored files
  listen: etckeeper_commit_gitignore