From: Oleg Broytman Date: Sun, 21 Jul 2019 16:59:36 +0000 (+0300) Subject: Refactor: `force: yes` is the default X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=52ae6d4f4101ab4f748245b69fc6f9c8c80b5319;p=ansible.git Refactor: `force: yes` is the default --- 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