update-motd/tasks/main.yml
2018-10-18 19:33:41 +02:00

18 lines
391 B
YAML

---
- name: Disable blacklisted scripts
file:
dest: "/etc/update-motd.d/{{ item }}"
state: absent
with_items: "{{ update_motd_blacklist | default([]) }}"
- name: Install custom update scripts
copy:
content: "{{ item.content }}"
dest: "/etc/update-motd.d/{{ item.name }}"
mode: '0755'
owner: root
group: root
with_items: '{{ update_motd_scripts }}'
...