Commit a72cecb7 authored by nono's avatar nono 💻
Browse files

Activation du timer systemd

parent 83aca10e
# RKhunter
- name: Installation de rkhunter
package:
package:
name: rkhunter
state: present
......@@ -13,11 +13,19 @@
group: root
mode: 0644
- name: Installation du timer rkhunter
template:
src: rkhunter/rkhunter.timer
dest: /etc/systemd/system/rkhunter.timer
owner: root
group: root
mode: 0644
- name: Activation du service Rkhunter
systemd:
name: rkhunter
enabled: yes
- name: Configuration de rkhunter
template:
src: rkhunter/rkhunter.conf.j2
......@@ -33,9 +41,8 @@
state: started
name: rkhunter
- name: Installation du timer rkhunter
- name: Vérification de l'état du timer rkhunter
systemd:
name: rkhunter.timer
state: started
enabled: yes
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment