摘要: - name: install zabbix-agent conf hosts: lichuan vars: zabbix_server_ip: 10.3.229.14 zabbix_agent_ip: "{{ ansible_em1.ipv4.address }}" gather_facts: t 阅读全文
posted @ 2023-01-10 15:24 大川哥 阅读(85) 评论(0) 推荐(0) 编辑
摘要: - name: sync time hosts: lichuan gather_facts: false tasks: - name: SELINUX=disabled selinux: state=disabled - name: iptables stop shell: systemctl st 阅读全文
posted @ 2023-01-10 15:22 大川哥 阅读(103) 评论(0) 推荐(0) 编辑
摘要: - name: install node-exporter conf hosts: lichuan gather_facts: false ignore_errors: yes tasks: - name: copy node-exporter.tgz copy: src=/root/node_ex 阅读全文
posted @ 2023-01-10 15:21 大川哥 阅读(92) 评论(0) 推荐(0) 编辑