]> git.phdru.name Git - ansible.git/commitdiff
Refactor: `force: yes` is the default
authorOleg Broytman <phd@phdru.name>
Sun, 21 Jul 2019 16:59:36 +0000 (19:59 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 21 Jul 2019 16:59:36 +0000 (19:59 +0300)
playbooks/debian/roles/sudo/tasks/main.yml
playbooks/monthly-truncate-logs.yml
playbooks/roles/debian/remove-systemd/tasks/main.yml

index c9bea00b85a00b44bc2e9a98a74f01144e8ca9b0..ea0377d1030c4da8970a333960923ecd36342b3f 100644 (file)
@@ -21,4 +21,3 @@
     owner: root
     group: sudo
     mode: 0640
-    force: yes
index 82a254904b745298def09f1ab354a0a26c2e8dc9..9a3c57aad7542f8f391b4f9e9886e45999a2f353 100644 (file)
@@ -6,5 +6,4 @@
       copy:
         content: ''
         dest: "{{ item }}"
-        force: yes
       loop: ['mail/procmail.log', 'mail/sent-mail']
index 2c7b9096e3e17798ad9c06178039d48f44bf1453..a61e6b37a9a709f06df0ffcdb5d99e4b5a5932a6 100644 (file)
@@ -29,7 +29,6 @@
     mode: '0644'
 
 - name: Purge SystemD
-  become: true
   import_tasks: remove-systemd.yml
 
 - name: Reboot if SystemD is still active