constructed inventory plugin: correct example (#69165)
Fixed 'intersect' filter name in constructed inventory plugin example.
This commit is contained in:
parent
a050d892d8
commit
91d02e1c1f
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ EXAMPLES = r'''
|
|||
private_only: not (public_dns_name is defined or ip_address is defined)
|
||||
|
||||
# complex group membership
|
||||
multi_group: (group_names|intersection(['alpha', 'beta', 'omega']))|length >= 2
|
||||
multi_group: (group_names | intersect(['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,
|
||||
|
|
Loading…
Reference in a new issue