chrnie / ansible-role-icinga2

install icinga2 on rhel or debian
Apache License 2.0
2 stars 6 forks source link

icinga2_role and creation of master zones #16

Open TinajaLabs opened 5 years ago

TinajaLabs commented 5 years ago

I'm trying to understand how to deploy into a system that has about 25 servers. One will be the master (icinga2_role = master), the rest will be clients (icinga2_role = agent).

When I run master, I set the host of the playbook to be the monitoring server. It is the only one I am referencing from the inventory list. There is only one and Icinga as master is installed.

Now I want to run with icinga2_role = agent.

In my playbook I set to hosts: all, but I don't think I should include the master server in the inventory.

What is best practice scenario for running playbook for a a master server and then for the rest of the agent servers.

Thanks for any tips, Chris.

TinajaLabs commented 5 years ago

First thing I learned when switching from master to agent, is to remove reference to : geerlingguy.mysql

Perhaps, at least a note in the readme...