Make MOTD nuking more aggressive, add user role to localhost

Oopsie. Turns out my new VM didn't pull my dotfiles down.
This commit is contained in:
Salt 2020-04-15 08:34:32 -05:00
parent 71d1efe21c
commit a1ca574f41
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,7 @@
--- ---
- hosts: localhost - hosts: localhost
roles: roles:
- user
- common - common
- desktop - desktop
- role: ansiblehost - role: ansiblehost

View File

@ -26,8 +26,7 @@
- name: Disable default update-motd tasks - name: Disable default update-motd tasks
file: file:
path: "/etc/update-motd.d/{{ item }}" path: "/etc/update-motd.d/{{ item }}"
# Unset executable bit is the important part here state: absent
mode: "0644"
loop: loop:
- "00-header" - "00-header"
- "10-help-text" - "10-help-text"