Ansible, Automation, Configuration Management, AWS, DevOps.
an AWS VPC gather_facts: false hosts: localhost tasks: - name: Create a VPC steampunk.aws.ec2_vpc: name: my-vpc cidr: 10.0.0.0/16 As the documentation export the variables with AWS credentials. export AWS_REGION=us-east-1 export AWS_ACCESS_KEY=your-access-key export