@@ -7,7 +7,7 @@
|
|||||||
- name: Update patchmon_server port in config
|
- name: Update patchmon_server port in config
|
||||||
ansible.builtin.replace:
|
ansible.builtin.replace:
|
||||||
path: /etc/patchmon/config.yml
|
path: /etc/patchmon/config.yml
|
||||||
regexp: 'patchmon_server:http://192\.168\.1\.67:3399'
|
regexp: 'patchmon_server:\s*http://192\.168\.1\.67:3399'
|
||||||
replace: 'patchmon_server: http://192.168.1.67:3001'
|
replace: 'patchmon_server: http://192.168.1.67:3001'
|
||||||
backup: no
|
backup: no
|
||||||
notify: Restart patchmon-agent
|
notify: Restart patchmon-agent
|
||||||
|
|||||||
Reference in New Issue
Block a user