[2.9] constructed inventory plugin: correct example (#69189)

Fixed 'intersect' filter name in constructed inventory plugin example.

(cherry picked from commit 91d02e1c1f)

Co-authored-by: Kenyon Ralph <kenyon@kenyonralph.com>
pull/69189/merge
Abhijeet Kasurde 5 years ago committed by GitHub
parent c49f2218de
commit fd828672a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
minor_changes:
- Fixed 'intersect' filter spelling in constructed inventory plugin example.

@ -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…
Cancel
Save