summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/common/tasks/deps.yml10
-rw-r--r--roles/common/tasks/rkhunter.yml6
2 files changed, 0 insertions, 16 deletions
diff --git a/roles/common/tasks/deps.yml b/roles/common/tasks/deps.yml
index 5da759c..cefac63 100644
--- a/roles/common/tasks/deps.yml
+++ b/roles/common/tasks/deps.yml
@@ -13,13 +13,3 @@
- python-dnf
- python-firewall
when: ansible_pkg_mgr == "yum"
-
-
-# after one playbook run, this must be deleted
-- name: Suppression des conflits
- dnf: name=vim-enhanced state=absent
- when: ansible_pkg_mgr == "dnf"
-
-- name: Suppression des conflits
- yum: name=vim-enhanced state=absent
- when: ansible_pkg_mgr == "yum"
diff --git a/roles/common/tasks/rkhunter.yml b/roles/common/tasks/rkhunter.yml
index cc18631..318911d 100644
--- a/roles/common/tasks/rkhunter.yml
+++ b/roles/common/tasks/rkhunter.yml
@@ -6,9 +6,3 @@
lineinfile: dest=/etc/rkhunter.conf state=present backrefs=yes
regexp="^DISABLE_TESTS=suspscan hidden_ports deleted_files packet_cap_apps apps"
line="DISABLE_TESTS=suspscan deleted_files"
-
-# after one playbook run, this must be deleted
-- name: Autorise login root par SSH
- lineinfile: dest=/etc/rkhunter.conf state=present backrefs=yes
- regexp="^ALLOW_SSH_ROOT_USER=unset"
- line="ALLOW_SSH_ROOT_USER=yes"