16 lines
461 B
YAML
16 lines
461 B
YAML
|
|
- name: "[CONFIG MOTD] Comprobando si es necesario configurar motd"
|
|
meta: end_host
|
|
when: motd_enabled is not defined or not motd_enabled
|
|
|
|
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
# Add message to MOTD
|
|
- name: add motd message
|
|
copy:
|
|
src: mymotd.sh
|
|
dest: "{{ path_motd_script }}"
|
|
mode: '0644'
|
|
owner: root
|
|
group: root
|
|
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|