From 9b2dd3a28307902eb458a557aa0ebc1949619285 Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Sat, 17 Jan 2026 21:18:43 -0500 Subject: [PATCH] Update update-host.yml --- update-host.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/update-host.yml b/update-host.yml index 70cb757..602e30c 100644 --- a/update-host.yml +++ b/update-host.yml @@ -18,4 +18,10 @@ - name: Apt Autoclean ansible.builtin.apt: - autoclean: true \ No newline at end of file + autoclean: true + + - name: Patchmon agent update + ansible.builtin.command: /usr/local/bin/patchmon-agent.sh update + register: patchmon_output + changed_when: "'updated' in patchmon_output.stdout.lower()" + failed_when: patchmon_output.rc != 0 \ No newline at end of file