Update update-host.yml

This commit is contained in:
2026-01-17 21:23:05 -05:00
parent e58a3231cb
commit ee6298445f

View File

@@ -22,11 +22,11 @@
- name: Check if patchmon agent exists
ansible.builtin.stat:
path: /usr/local/bin/patchmon-agent.sh
path: /usr/local/bin/patchmon-agent
register: patchmon_agent
- name: Patchmon agent update
ansible.builtin.command: bash /usr/local/bin/patchmon-agent.sh update
ansible.builtin.command: bash /usr/local/bin/patchmon-agent report
when: patchmon_agent.stat.exists
changed_when: false
failed_when: false