Skip to content

Instantly share code, notes, and snippets.

@s-hertel
Created October 23, 2020 20:38
Show Gist options
  • Save s-hertel/530d4d65486207c790769938081a65e2 to your computer and use it in GitHub Desktop.
Save s-hertel/530d4d65486207c790769938081a65e2 to your computer and use it in GitHub Desktop.
# test_aws_ec2.yml:
# plugin: amazon.aws.aws_ec2
# regions: us-east-1
export AWS_PROFILE=shertel
ansible-inventory -i test_aws_ec2.yml --list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment