Added defaults for resources

This commit is contained in:
Evgeniy L 2015-05-27 14:24:18 +02:00
parent 8c15afae70
commit 731b418031
6 changed files with 41 additions and 14 deletions

View File

@ -0,0 +1,9 @@
- hosts: [resource/docker]
sudo: yes
tasks:
- shell: docker --version
ignore_errors: true
register: docker_version
- shell: curl -sSL https://get.docker.com/ | sudo sh
when: docker_version|failed

View File

@ -0,0 +1,12 @@
id: docker
handler: ansible
version: 1.0.0
input:
ip:
ssh_user:
ssh_key:
input-types:
tags: [resource/docker]

View File

@ -1,16 +1,18 @@
id: haproxy_config
id: haproxy_keystone_config
handler: none
version: 1.0.0
input:
name:
schema: str!
value:
value: keystone-admin
listen_port:
schema: int!
value:
value: 9999
ports:
schema: [int]
value:
servers:
schema: [str]
value:
tags: [resources/haproxy, resource/haproxy_keystone_config]

View File

@ -1,25 +1,29 @@
id: keystone_config
handler: ansible
version: 1.0.0
input:
config_dir:
schema: str!
value:
admin_token:
schema: str!
value:
db_user:
schema: str!
value:
value: /etc/solar/keystone
db_password:
schema: str!
value:
value: password
db_user:
schema: str!
value: keystone
db_host:
schema: str!
value:
db_port:
schema: str!
value:
db_name:
schema: str!
value:
value: keystone
ip:
schema: str!
value:

View File

@ -7,7 +7,7 @@ input:
value: kollaglue/centos-rdo-keystone
config_dir:
schema: str!
value:
value: /etc/solar/keystone
port:
schema: int!
value:
@ -24,4 +24,4 @@ input:
schema: str!
value:
tags: [resource/keystone, resources/keystone]
tags: [resource/keystone_service, resources/keystone]

View File

@ -4,13 +4,13 @@ version: 1.0.0
input:
image:
schema: str!
value:
value: kollaglue/fedora-rdo-mariadb-app
root_password:
schema: str!
value:
value: password
port:
schema: str!
value:
value: 3306
ip:
schema: int!
value: