| | |
| | | |
| | | - name: print our new instances |
| | | debug: |
| | | msg: "instance short name is: {{ item.tags.short_name }}" |
| | | # var: item |
| | | msg: "instance short name is: {{ item.tags.short_name }}" |
| | | # var: item |
| | | verbosity: 2 |
| | | with_items: "{{ ec2_facts['instances'] }}" |
| | | verbosity: 2 |
| | | |
| | | - name: print our bastion when found |
| | | debug: |
| | | msg: "found BASTION {{ item.id }}" |
| | | verbosity: 2 |
| | | when: item.tags.short_name == 'ansible' |
| | | with_items: "{{ ec2_facts['instances'] }}" |
| | | verbosity: 2 |
| | | |
| | | - name: Ensure Project and AnsibleGroup tags are present on all resources |
| | | ec2_tag: |