]> git.phdru.name Git - ansible.git/blob - playbooks/roles/debian/init-logcheck/tasks/main.yml
Feat(init-local-phd): Install more packages
[ansible.git] / playbooks / roles / debian / init-logcheck / tasks / main.yml
1 - name: Check logcheck
2   stat:
3     path: /etc/logcheck/logcheck.conf
4   register: logcheck_exists
5   changed_when: not logcheck_exists.stat.exists
6
7 - name: Install logcheck if not installed
8   import_role:
9     name: logcheck
10   when: not logcheck_exists.stat.exists