From 52ae6d4f4101ab4f748245b69fc6f9c8c80b5319 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 21 Jul 2019 19:59:36 +0300 Subject: [PATCH] Refactor: `force: yes` is the default --- playbooks/debian/roles/sudo/tasks/main.yml | 1 - playbooks/monthly-truncate-logs.yml | 1 - playbooks/roles/debian/remove-systemd/tasks/main.yml | 1 - 3 files changed, 3 deletions(-) diff --git a/playbooks/debian/roles/sudo/tasks/main.yml b/playbooks/debian/roles/sudo/tasks/main.yml index c9bea00..ea0377d 100644 --- a/playbooks/debian/roles/sudo/tasks/main.yml +++ b/playbooks/debian/roles/sudo/tasks/main.yml @@ -21,4 +21,3 @@ owner: root group: sudo mode: 0640 - force: yes diff --git a/playbooks/monthly-truncate-logs.yml b/playbooks/monthly-truncate-logs.yml index 82a2549..9a3c57a 100644 --- a/playbooks/monthly-truncate-logs.yml +++ b/playbooks/monthly-truncate-logs.yml @@ -6,5 +6,4 @@ copy: content: '' dest: "{{ item }}" - force: yes loop: ['mail/procmail.log', 'mail/sent-mail'] diff --git a/playbooks/roles/debian/remove-systemd/tasks/main.yml b/playbooks/roles/debian/remove-systemd/tasks/main.yml index 2c7b909..a61e6b3 100644 --- a/playbooks/roles/debian/remove-systemd/tasks/main.yml +++ b/playbooks/roles/debian/remove-systemd/tasks/main.yml @@ -29,7 +29,6 @@ mode: '0644' - name: Purge SystemD - become: true import_tasks: remove-systemd.yml - name: Reboot if SystemD is still active -- 2.39.5