diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2018-12-03 03:21:42 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2018-12-03 03:43:42 +0100 |
commit | cfedc9e785831d54195b120300932f74f9808daf (patch) | |
tree | 3f906311a6d2a7340b9d9012f23c07c95e8015b2 /roles/common/tasks/rkhunter.yml | |
parent | f01876604da167b36780e53ce54cd89c8f9d5f85 (diff) |
Upgrade syntax to Ansible 2.7 (apt module).
Diffstat (limited to 'roles/common/tasks/rkhunter.yml')
-rw-r--r-- | roles/common/tasks/rkhunter.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/common/tasks/rkhunter.yml b/roles/common/tasks/rkhunter.yml index c9d26fa..64f2aac 100644 --- a/roles/common/tasks/rkhunter.yml +++ b/roles/common/tasks/rkhunter.yml @@ -1,23 +1,24 @@ - name: Install rkhunter - apt: pkg={{ item }} - with_items: + apt: pkg={{ packages }} + vars: + packages: - rkhunter - curl - iproute2 - lsof - unhide # To test the configuration: # ansible all -m command -a '/usr/bin/rkhunter -c --nomow --rwo' - name: Configure rkhunter copy: src=etc/{{ item }} dest=/etc/{{ item }} owner=root group=root mode=0644 with_items: - rkhunter.conf - default/rkhunter notify: # This might not always be necessary, but it's not like we would # change the config every day... - Update rkhunter's data file |