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: ansible_ssh_host:
schema: str! schema: str!
value: value:
user:
schema: str!
value:
user_key:
schema: str!
value:
mgmt_ip:
schema: str!
value:
physical_host: physical_host:
schema: str! schema: str!
value: value:

View File

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

View File

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