Added set_stats example to cloud workflow (#173)

This commit is contained in:
Chris Edillon
2024-08-27 09:46:35 -04:00
committed by GitHub
parent 552acdcb6c
commit 035f815486
4 changed files with 51 additions and 11 deletions

View File

@@ -0,0 +1,18 @@
---
- name: Display EC2 stats
hosts: localhost
gather_facts: false
tasks:
- name: Display stats for EC2 VPC and key pair
ansible.builtin.debug:
var: '{{ item }}'
loop:
- stat_aws_region
- stat_aws_key_pair
- stat_aws_vpc_id
- stat_aws_vpc_cidr
- stat_aws_subnet_id
- stat_aws_subnet_cidr
...