2014-04-29 03:37:08 +02:00
|
|
|
- hosts: amazon
|
2014-02-24 20:37:23 +01:00
|
|
|
gather_facts: true
|
|
|
|
roles:
|
|
|
|
- { role: test_ec2_key, tags: test_ec2_key }
|
|
|
|
- { role: test_ec2_group, tags: test_ec2_group }
|
|
|
|
#- { role: test_ec2_vpc, tags: test_ec2_vpc }
|
|
|
|
#- { role: test_ec2_vol, tags: test_ec2_vol }
|
|
|
|
#- { role: test_ec2_tag, tags: test_ec2_tag }
|
|
|
|
#- { role: test_ec2_facts, tags: test_ec2_facts }
|
2014-04-25 21:38:55 +02:00
|
|
|
- { role: test_ec2_elb_lb, tags: test_ec2_elb_lb }
|
2014-08-05 16:20:23 +02:00
|
|
|
- { role: test_ec2_eip, tags: test_ec2_eip }
|
2014-02-24 20:37:23 +01:00
|
|
|
#- { role: test_ec2_ami, tags: test_ec2_ami }
|
|
|
|
#- { role: test_ec2, tags: test_ec2 }
|
2014-05-28 06:36:42 +02:00
|
|
|
- { role: test_ec2_asg, tags: test_ec2_asg }
|
2014-04-29 03:37:08 +02:00
|
|
|
|
|
|
|
# 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
|
2016-09-21 22:58:35 +02:00
|
|
|
become: true
|
2014-04-29 03:37:08 +02:00
|
|
|
roles:
|
|
|
|
- { role: ec2_elb_instance_setup, tags: test_ec2_elb }
|
|
|
|
|
|
|
|
- hosts: amazon
|
|
|
|
roles:
|
|
|
|
- { role: test_ec2_elb, tags: test_ec2_elb }
|