From 9287e4d7b7bd789b01215b711b420ba8e2172897 Mon Sep 17 00:00:00 2001 From: Dmitry Shulyak Date: Tue, 4 Aug 2015 12:39:09 +0300 Subject: [PATCH] Create multiple containers and add rabbitmq resource on idx=28 --- resources/lxc_container/meta.yaml | 9 +++++++++ resources/ssh_key/actions/run.yml | 4 ++-- resources/ssh_key/meta.yaml | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/resources/lxc_container/meta.yaml b/resources/lxc_container/meta.yaml index 52d33f9..16644fc 100644 --- a/resources/lxc_container/meta.yaml +++ b/resources/lxc_container/meta.yaml @@ -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: diff --git a/resources/ssh_key/actions/run.yml b/resources/ssh_key/actions/run.yml index 83073f9..f8fc161 100644 --- a/resources/ssh_key/actions/run.yml +++ b/resources/ssh_key/actions/run.yml @@ -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 diff --git a/resources/ssh_key/meta.yaml b/resources/ssh_key/meta.yaml index aa48027..ffe71dc 100644 --- a/resources/ssh_key/meta.yaml +++ b/resources/ssh_key/meta.yaml @@ -20,4 +20,4 @@ input: value: passphrase: schema: str - value: default_passphrase + value: