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:
|
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:
|
||||||
|
@ -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
|
||||||
|
@ -20,4 +20,4 @@ input:
|
|||||||
value:
|
value:
|
||||||
passphrase:
|
passphrase:
|
||||||
schema: str
|
schema: str
|
||||||
value: default_passphrase
|
value:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user