update_motd/tasks/configure.yml
Bertrand Lanson 2ed6f6ce8b
All checks were successful
test / Linting (push) Successful in 20s
test / Molecule tests (default, debian11) (push) Successful in 56s
test / Molecule tests (default, debian12) (push) Successful in 1m8s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m0s
test / Molecule tests (with_custom_ascii, debian11) (push) Successful in 56s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m24s
test / Molecule tests (with_custom_ascii, debian12) (push) Successful in 1m8s
test / Molecule tests (with_custom_ascii, ubuntu2004) (push) Successful in 59s
test / Molecule tests (with_custom_ascii, ubuntu2204) (push) Successful in 1m7s
feat: remove become from role, fix #1
2023-12-03 18:26:11 +01:00

18 lines
436 B
YAML

---
# task/configure file for update_motd
- name: "Copy configuration file for neofetch motd"
ansible.builtin.template:
src: "motd.cfg.j2"
dest: "{{ update_motd_config_path }}/motd.cfg"
owner: root
group: root
mode: '0644'
- name: "Copy motd script file"
ansible.builtin.copy:
src: files/motd.sh
dest: "{{ update_motd_path }}/{{ update_motd_filename }}"
mode: '0744'
owner: root
group: root