diff options
author | Matthieu Saulnier <fantom@fedoraproject.org> | 2017-06-22 23:16:16 +0200 |
---|---|---|
committer | Matthieu Saulnier <fantom@fedoraproject.org> | 2017-06-22 23:16:16 +0200 |
commit | c0dc2c37c2fb4ab624f4e8947acae3e1cac76e6c (patch) | |
tree | 3e6ee99bd1d8252281220b3564d9ef269c23df01 /roles | |
parent | 0688c5f11001709ffa8294c1b899f94128a8a788 (diff) | |
download | playbooks-ansible-c0dc2c37c2fb4ab624f4e8947acae3e1cac76e6c.tar.gz playbooks-ansible-c0dc2c37c2fb4ab624f4e8947acae3e1cac76e6c.tar.xz playbooks-ansible-c0dc2c37c2fb4ab624f4e8947acae3e1cac76e6c.zip |
remove oneshot tasks after cleaning config
Diffstat (limited to 'roles')
-rw-r--r-- | roles/common/tasks/deps.yml | 10 | ||||
-rw-r--r-- | roles/common/tasks/rkhunter.yml | 6 |
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" |