From 3a56439facc0c2f963dd1a818244b16b88339c2b Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Mon, 22 Nov 2021 18:03:09 +0100 Subject: [PATCH] update_motd: remove become true --- roles/update_motd/tasks/main.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/roles/update_motd/tasks/main.yml b/roles/update_motd/tasks/main.yml index 9479003..e0ae1f8 100644 --- a/roles/update_motd/tasks/main.yml +++ b/roles/update_motd/tasks/main.yml @@ -1,6 +1,5 @@ --- - name: Ensure update-motd.d exists - become: true file: path: /etc/update-motd.d state: directory @@ -9,7 +8,6 @@ group: root - name: Customize motd - become: true template: src: "{{ item }}" dest: "/etc/update-motd.d/{{ item }}" @@ -23,21 +21,18 @@ notify: Remove cached motd - name: Remove Debian uname motd - become: true file: path: /etc/update-motd.d/10-uname state: absent notify: Remove cached motd - name: Remove Debian warranty motd - become: true file: path: /etc/motd state: absent notify: Remove cached motd - name: Ensure motd-messages exists - become: true file: path: /etc/motd-messages state: directory @@ -47,7 +42,6 @@ notify: Remove cached motd - name: Install additional motd messages - become: true copy: content: "✨ {{ item.message }}\n" dest: "/etc/motd-messages/{{ item.key }}"