constructed inventory plugin: correct example ()

Fixed 'intersect' filter name in constructed inventory plugin example.
This commit is contained in:
Kenyon Ralph 2020-04-26 23:34:51 -07:00 committed by GitHub
parent a050d892d8
commit 91d02e1c1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,