homeserver/friedhof/mgrote_motd/tasks/fortune.yml
Michael Grote 7a24089031 fix linter errors (#584)
Reviewed-on: #584
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-25 22:26:17 +02:00

16 lines
319 B
YAML

---
- name: install fortune
become: true
ansible.builtin.package:
name:
- fortune
state: present
- name: setup new motd - fortune
become: true
ansible.builtin.template:
src: '05-fortune-mgrote'
dest: '/etc/update-motd.d/05-fortune-mgrote'
owner: root
group: root
mode: "0755"