neuro_ansible/install_checkmk_client_phase_b.yaml

13 lines
398 B
YAML
Raw Permalink Normal View History

2024-04-16 10:10:11 +02:00
---
- name: register check client
hosts: all
become: true
tasks:
- name: register check client
shell: "myhostname=`hostname` ; cmk-agent-ctl register --server 10.10.0.3:8000 --site cmk --user automation --trust-cert --password '{{ password }}' --hostname $myhostname"
2024-04-16 20:06:17 +02:00
# firewall-cmd --zone=public --add-port=6556/tcp --permanent
# firewall-cmd --zone=public --add-port=6556/tcp