Ansible-lint fixes
All checks were successful
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-centos) (push) Successful in 13s
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-debian) (push) Successful in 12s
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-fedora) (push) Successful in 13s

This commit is contained in:
2025-08-21 11:44:10 -04:00
parent e5f280987a
commit c1bf3ddefb
4 changed files with 9 additions and 11 deletions

View File

@ -1,7 +1,7 @@
---
- name: Format uptime using Jinja
ansible.builtin.set_fact:
uptime_formatted: |
motd_uptime_formatted: |
{% if 'day' in motd_host_uptime %}
{{ motd_host_uptime | regex_replace(motd_day_filter, motd_day_filter_repl) }}
{% else %}
@ -11,10 +11,10 @@
- name: Update MOTD
ansible.builtin.template:
src : templates/motd.j2
dest : "{{ motd_motd_file }}"
mode : "0644"
changed_when : false
src: templates/motd.j2
dest: "{{ motd_motd_file }}"
mode: "0644"
changed_when: false
...