Create multiple containers and add rabbitmq resource on idx=28

This commit is contained in:
Dmitry Shulyak 2015-08-04 12:39:09 +03:00
parent 08cbc95673
commit 9287e4d7b7
3 changed files with 12 additions and 3 deletions

View File

@ -15,6 +15,15 @@ input:
ansible_ssh_host:
schema: str!
value:
user:
schema: str!
value:
user_key:
schema: str!
value:
mgmt_ip:
schema: str!
value:
physical_host:
schema: str!
value:

View File

@ -4,9 +4,9 @@
# this is default variables, they will be overwritten by resource one
vars:
path: /vagrant/.ssh/id_rsa
passphrase: containers
passphrase: ''
tasks:
- stat: path={{path}}
register: key
- shell: ssh-keygen -t rsa -f {{path}} -N {{passphrase}}
- shell: ssh-keygen -t rsa -f {{path}} -N ""
when: key.stat.exists == False

View File

@ -20,4 +20,4 @@ input:
value:
passphrase:
schema: str
value: default_passphrase
value: