neuro_ansible/install_checkmk_client_phase_b.yaml

10 lines
287 B
YAML
Raw 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"