]> git.phdru.name Git - ansible.git/blobdiff - playbooks/debian/roles/init-logcheck/tasks/main.yml
Refactor: Move OS-specific roles under common `roles/`
[ansible.git] / playbooks / debian / roles / init-logcheck / tasks / main.yml
diff --git a/playbooks/debian/roles/init-logcheck/tasks/main.yml b/playbooks/debian/roles/init-logcheck/tasks/main.yml
deleted file mode 100644 (file)
index a0960a5..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-- name: Check logcheck
-  stat:
-    path: /etc/logcheck/logcheck.conf
-  register: logcheck_exists
-  changed_when: not logcheck_exists.stat.exists
-
-- name: Install logcheck if not installed
-  import_role:
-    name: logcheck
-  when: not logcheck_exists.stat.exists