Create multiple containers and add rabbitmq resource on idx=28
This commit is contained in:
parent
08cbc95673
commit
9287e4d7b7
@ -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:
|
||||
|
@ -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
|
||||
|
@ -20,4 +20,4 @@ input:
|
||||
value:
|
||||
passphrase:
|
||||
schema: str
|
||||
value: default_passphrase
|
||||
value:
|
||||
|
Loading…
x
Reference in New Issue
Block a user