Delete update-patchmon.yml

This commit is contained in:
2026-03-22 20:02:05 -04:00
parent baa884a1be
commit b04fcdb642

View File

@@ -1,23 +0,0 @@
---
- name: Update Patchmon server port and report
hosts: all
become: true
tasks:
- name: Update patchmon_server port in config
ansible.builtin.replace:
path: /etc/patchmon/config.yml
regexp: 'patchmon_server:\s*http://192\.168\.1\.67:3001'
replace: 'patchmon_server: http://100.65.112.126:3001'
backup: no
notify: Restart patchmon
- name: Run patchmon-agent report
ansible.builtin.command: patchmon-agent report
changed_when: false
handlers:
- name: Restart patchmon
ansible.builtin.service:
name: patchmon
state: restarted