neuro_ansible/install_checkmk_client_phase_b.yaml

9 lines
287 B
YAML

---
- 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"