Actualizar roles/config-motd/tasks/main.yaml

This commit is contained in:
David Lopez 2024-09-07 09:22:19 +00:00
parent 96260ba51a
commit ba2ac1562a
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
- name: "[CONFIG MOTD] Comprobando si es necesario configurar motd" - name: "[CONFIG MOTD] Comprobando si es necesario configurar motd"
meta: end_host meta: end_host
when: motd_enabled is not defined or not motd_enabled when: motd_enabled is not defined or not motd_enabled
@ -8,7 +7,7 @@
- name: add motd message - name: add motd message
copy: copy:
src: mymotd.sh src: mymotd.sh
dest: "{{ path_motd_script }}" dest: "{{ path_motd_path }}"
mode: '0644' mode: '0644'
owner: root owner: root
group: root group: root