notify, fix to current lint standards.

This commit is contained in:
me
2026-10-02 11:11:48 -07:00
parent 502cec92f3
commit 425abcff73
+2 -2
View File
@@ -2,7 +2,7 @@
# Create and manage permissions for notify log. # Create and manage permissions for notify log.
- name: General | Notify | Update File - name: General | Notify | Update File
shell: "{{ item }}" ansible.builtin.shell: "{{ item }}"
loop: loop:
- touch "{{ notify_log_file }}" - touch "{{ notify_log_file }}"
- chmod 777 "{{ notify_log_file }}" - chmod 777 "{{ notify_log_file }}"
@@ -10,6 +10,6 @@
changed_when: shell_check.rc == 0 changed_when: shell_check.rc == 0
- name: General | Notify | Add Message - name: General | Notify | Add Message
shell : echo "'Ansible' '{{ notify_message }} @ `date`'" >> "{{ notify_log_file }}" ansible.builtin.shell : echo "'Ansible' '{{ notify_message }} @ `date`'" >> "{{ notify_log_file }}"
register: shell_check register: shell_check
changed_when: shell_check.rc == 0 changed_when: shell_check.rc == 0