Debian Codegraph @

ansible_collections/amazon/aws/tests/integration/targets/autoscaling_instance/tasks/main.yml

raw
1 ---
2 # Beware: most of our tests here are run in parallel.
3 # To add new tests you'll need to add a new host to the inventory and a matching
4 # '{{ inventory_hostname }}'.yml file in roles/ec2_asg/tasks/
5
6 - name: Wrap up all tests and setup AWS credentials
7 module_defaults:
8 group/aws:
9 access_key: "{{ aws_access_key }}"
10 secret_key: "{{ aws_secret_key }}"
11 session_token: "{{ security_token | default(omit) }}"
12 region: "{{ aws_region }}"
13 block:
14 - ansible.builtin.include_tasks: env_setup.yml
15 - ansible.builtin.include_tasks: tests.yml
16 always:
17 - ansible.builtin.include_tasks: env_cleanup.yml