Only monitor MC from one node
This commit is contained in:
parent
dcd661a35a
commit
c8ba440042
@ -77,3 +77,10 @@
|
|||||||
stats = ["*"]
|
stats = ["*"]
|
||||||
|
|
||||||
#[[inputs.fail2ban]]
|
#[[inputs.fail2ban]]
|
||||||
|
|
||||||
|
{% if inventory_hostname == "n3" %}
|
||||||
|
[[inputs.minecraft]]
|
||||||
|
server = "{{ hostvars['n3']['ansible_ens10']['ipv4']['address'] }}"
|
||||||
|
port = "25575"
|
||||||
|
password = "{{ vault_minecraft.rcon.password }}"
|
||||||
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user