摘要: - 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 大川哥 阅读(108) 评论(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 大川哥 阅读(125) 评论(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 大川哥 阅读(137) 评论(0) 推荐(0)