I got a predefined group `monitor` with many monitoring parameters that 
will be used in prometheus/alertmanager/node-exporter.

inventory/hosts
`
[monitor]
10.1.1.1
10.2.2.2
10.3.3.3
`

group_vars/monitor.yml
`
prometheus_version: xxx
prometheus_port: xxx
`

playbooks/monitor.yml
`
- hosts: monitor
  roles:
    - {role: prometheus}
`

There was a problem when using dynamic inventory. No hosts were selected 
when using host patterns in group inventory.
`
[monitor]
us-west:!tags_k8s*:!tags_win*
`


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1a273f52-2a94-44f5-ad4a-9c515594033b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to