mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 20:00:18 +01:00
23 lines
451 B
YAML
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 }}"
|
|
|