xoxys.motd/tasks/main.yml
Robert Kaussow 37303a4697
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci: migrate to woodpecker
2024-02-18 13:59:30 +01:00

18 lines
381 B
YAML

---
- name: Copy issue and motd files
ansible.builtin.template:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
owner: root
group: root
mode: "0644"
loop:
- src: "etc/motd.j2"
dest: "/etc/motd"
- src: "etc/issue.j2"
dest: "/etc/issue"
- src: "etc/issue.net.j2"
dest: "/etc/issue.net"
loop_control:
label: "{{ item.dest }}"