update_motd/tasks/configure.yml
Bertrand Lanson 675f4650c9
All checks were successful
test / Linting (push) Successful in 7s
test / Molecule tests (default, debian11) (push) Successful in 1m2s
test / Molecule tests (default, debian12) (push) Successful in 58s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m6s
test / Molecule tests (with_custom_ascii, debian11) (push) Successful in 50s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m7s
test / Molecule tests (with_custom_ascii, debian12) (push) Successful in 1m11s
test / Molecule tests (with_custom_ascii, ubuntu2004) (push) Successful in 1m0s
test / Molecule tests (with_custom_ascii, ubuntu2204) (push) Successful in 1m9s
feat: add vagrant tests for later, add become:true
2023-11-30 22:24:37 +01:00

20 lines
466 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'
become: true
- 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
become: true