Skip to content

Commit

Permalink
fix sanity ERROR: plugins/inventory/aws_ec2.py unparsable-with-libyam…
Browse files Browse the repository at this point in the history
…l: expected a single document in the stream - but found another document
  • Loading branch information
mandar242 committed Dec 18, 2023
1 parent 55bf49e commit b751ea5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions plugins/inventory/aws_ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@
# Returns all the hostnames for a given instance
allow_duplicated_hosts: false
---
# Example using constructed features to create groups and set ansible_host
plugin: amazon.aws.aws_ec2
regions:
Expand Down Expand Up @@ -230,8 +228,6 @@
# (note: this does not modify inventory_hostname, which is set via I(hostnames))
ansible_host: private_ip_address
---
# Example using include_filters and exclude_filters to compose the inventory.
plugin: amazon.aws.aws_ec2
regions:
Expand All @@ -246,8 +242,6 @@
- tag:Name:
- 'my_first_tag'
---
# Example using groups to assign the running hosts to a group based on vpc_id
plugin: amazon.aws.aws_ec2
profile: aws_profile
Expand All @@ -265,7 +259,6 @@
groups:
libvpc: vpc_id == 'vpc-####'
---
# Define prefix and suffix for host variables coming from AWS.
plugin: amazon.aws.aws_ec2
Expand Down

0 comments on commit b751ea5

Please sign in to comment.