From 16dcb1b75a596cc39d7b69b155d32cf61c534c06 Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Sun, 12 May 2024 11:52:21 +0200 Subject: Remove obsolete cleanup tasks --- ansible/roles/common/tasks/main.yml | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'ansible') 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 -- cgit v1.2.3