8 lines
290 B
YAML
8 lines
290 B
YAML
|
#!/usr/bin/env ansible-playbook
|
||
|
# vim:ft=ansible:
|
||
|
- name: remove default motd items
|
||
|
file: state=absent path=/etc/update-motd.d/{{ item }}
|
||
|
loop: "{{ motd_remove + motd_remove_extra }}"
|
||
|
- name: template out motd script
|
||
|
template: src=motd.sh dest=/etc/update-motd.d/50-ansible mode=0755
|