mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
upt playbook
This commit is contained in:
parent
7b167e583b
commit
09041228f9
@ -1,4 +1,4 @@
|
|||||||
- hosts: odroid_cluster
|
- hosts: datacenter
|
||||||
name: Install zabbix agent
|
name: Install zabbix agent
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
@ -21,7 +21,8 @@
|
|||||||
- name: Reconfigure zabbix agent Server
|
- name: Reconfigure zabbix agent Server
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /etc/zabbix/zabbix_agent2.conf
|
path: /etc/zabbix/zabbix_agent2.conf
|
||||||
regexp: "^Server=.*"
|
regexp: "^Server=.*"lacijaydee
|
||||||
|
|
||||||
insertafter: '^# Server='
|
insertafter: '^# Server='
|
||||||
line: "Server=192.168.77.106"
|
line: "Server=192.168.77.106"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user