mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
better handling of diff key types in compose
also made separator configurable fixed some exception types better error msgs
This commit is contained in:
parent
38491fe93d
commit
c679186f17
2 changed files with 42 additions and 27 deletions
|
@ -43,7 +43,8 @@ EXAMPLES = '''
|
|||
multi_group: (group_names|intersection(['alpha', 'beta', 'omega']))|length >= 2
|
||||
|
||||
keyed_groups:
|
||||
# this creates a group per distro (distro_CentOS, distro_Debian) and assigns the hosts that have matching values to it
|
||||
# this creates a group per distro (distro_CentOS, distro_Debian) and assigns the hosts that have matching values to it,
|
||||
# using the default separator "_"
|
||||
- prefix: distro
|
||||
key: ansible_distribution
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue