diff --git a/roles/config-motd/tasks/main.yaml b/roles/config-motd/tasks/main.yaml index c34d0ce..3d6306a 100644 --- a/roles/config-motd/tasks/main.yaml +++ b/roles/config-motd/tasks/main.yaml @@ -1,4 +1,3 @@ - - name: "[CONFIG MOTD] Comprobando si es necesario configurar motd" meta: end_host when: motd_enabled is not defined or not motd_enabled @@ -8,7 +7,7 @@ - name: add motd message copy: src: mymotd.sh - dest: "{{ path_motd_script }}" + dest: "{{ path_motd_path }}" mode: '0644' owner: root group: root