From b751ea521db210bc4fd4a0540bee9a6d3dfc7c94 Mon Sep 17 00:00:00 2001 From: Mandar Kulkarni Date: Mon, 18 Dec 2023 19:46:35 +0530 Subject: [PATCH] fix sanity ERROR: plugins/inventory/aws_ec2.py unparsable-with-libyaml: expected a single document in the stream - but found another document --- plugins/inventory/aws_ec2.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/plugins/inventory/aws_ec2.py b/plugins/inventory/aws_ec2.py index 5bc95262d9b..f9d9d1e9bf8 100644 --- a/plugins/inventory/aws_ec2.py +++ b/plugins/inventory/aws_ec2.py @@ -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: @@ -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: @@ -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 @@ -265,7 +259,6 @@ groups: libvpc: vpc_id == 'vpc-####' ---- # Define prefix and suffix for host variables coming from AWS. plugin: amazon.aws.aws_ec2