What if host and group have the same name? Ansible docs: Common patterns This table…
- User
What if host and group have the same name?
Ansible docs:
Common patterns This table lists common patterns for targeting inventory hosts and groups.
Description
Pattern(s)
Targets
All hosts all (or *)
One host host1
Multiple hosts host1:host2 (or host1,host2)
One group webservers
Multiple groups webservers:dbservers
all hosts in webservers plus all hosts in dbservers
Excluding groups webservers:!atlanta
all hosts in webservers except those in atlanta
Intersection of groups webservers:&staging
any hosts in webservers that are also in staging
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.