Update update-host.yml
This commit is contained in:
@@ -18,4 +18,10 @@
|
||||
|
||||
- name: Apt Autoclean
|
||||
ansible.builtin.apt:
|
||||
autoclean: true
|
||||
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
|
||||
Reference in New Issue
Block a user