aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2024-05-12 11:52:21 +0200
committerGravatar Johannes Christ <[email protected]>2024-05-12 11:52:21 +0200
commit16dcb1b75a596cc39d7b69b155d32cf61c534c06 (patch)
treee3addfba04486775cb5751297846bccdc9f8a02d
parentConfigure sudo in separate file (diff)
Remove obsolete cleanup tasks
-rw-r--r--ansible/roles/common/tasks/main.yml18
1 files changed, 0 insertions, 18 deletions
diff --git a/ansible/roles/common/tasks/main.yml b/ansible/roles/common/tasks/main.yml
index af2d010..428161f 100644
--- a/ansible/roles/common/tasks/main.yml
+++ b/ansible/roles/common/tasks/main.yml
@@ -14,14 +14,6 @@
tags:
- role::common
-# Temporary cleanup task. Can be removed later.
-- name: Remove old SSH daemon options file
- ansible.builtin.file:
- path: /etc/ssh/sshd_config.d/pydis.conf
- state: absent
- tags:
- - role::common
-
- name: Configure SSH daemon options
ansible.builtin.copy:
content: |
@@ -95,16 +87,6 @@
tags:
- role::common
-- name: Remove sudoers lecture path
- lineinfile:
- dest: /etc/sudoers
- regexp: '^Defaults +?lecture_file ?= ?".+?"$'
- line: 'Defaults lecture_file = "/etc/sudo_lecture"'
- state: absent
- validate: /usr/sbin/visudo -cf %s
- tags:
- - role::common
-
- name: Configure MOTD
template:
src: motd.j2