ansible-role-apache/openshift/openshift_ec2/ec2_remove.yml
2013-09-20 07:33:38 +05:30

23 lines
451 B
YAML

- hosts: localhost
connection: local
pre_tasks:
- fail: msg=" Please make sure the variables id is specified and unique in the command line -e id=uniquedev1"
when: id is not defined
roles:
- role: ec2_remove
type: dns
ncount: 1
- role: ec2_remove
type: mq
ncount: 3
- role: ec2_remove
type: broker
ncount: 2
- role: ec2_remove
type: nodes
ncount: "{{ count }}"