mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Adding an integration test for the ec2_elb module
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
- hosts: testhost
|
||||
- hosts: amazon
|
||||
gather_facts: true
|
||||
roles:
|
||||
- { role: test_ec2_key, tags: test_ec2_key }
|
||||
@@ -9,6 +9,24 @@
|
||||
#- { role: test_ec2_facts, tags: test_ec2_facts }
|
||||
- { role: test_ec2_elb_lb, tags: test_ec2_elb_lb }
|
||||
#- { role: test_ec2_eip, tags: test_ec2_eip }
|
||||
#- { role: test_ec2_elb, tags: test_ec2_elb }
|
||||
#- { role: test_ec2_ami, tags: test_ec2_ami }
|
||||
#- { role: test_ec2, tags: test_ec2 }
|
||||
|
||||
# complex test for ec2_elb, split up over multiple plays
|
||||
# since there is a setup component as well as the test which
|
||||
# runs on a different set of hosts (ec2 instances)
|
||||
|
||||
- hosts: amazon
|
||||
roles:
|
||||
- { role: ec2_provision_instances, tags: test_ec2_elb, count: 5 }
|
||||
|
||||
- hosts: ec2
|
||||
gather_facts: no
|
||||
remote_user: ec2-user
|
||||
sudo: true
|
||||
roles:
|
||||
- { role: ec2_elb_instance_setup, tags: test_ec2_elb }
|
||||
|
||||
- hosts: amazon
|
||||
roles:
|
||||
- { role: test_ec2_elb, tags: test_ec2_elb }
|
||||
|
||||
Reference in New Issue
Block a user