Glance virtual resources
This commit is contained in:
parent
f25777f17e
commit
4170fe1e06
26
templates/glance_base.yml
Normal file
26
templates/glance_base.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
id: glance_base
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- id: glance_db
|
||||||
|
from: resources/mariadb_db
|
||||||
|
values:
|
||||||
|
db_name: {{db_name}}
|
||||||
|
login_user: '{{login_user}}'
|
||||||
|
login_password: '{{login_password}}'
|
||||||
|
login_port: '{{login_port}}'
|
||||||
|
ip: '{{ip}}'
|
||||||
|
ssh_user: '{{ssh_user}}'
|
||||||
|
ssh_key: '{{ssh_key}}'
|
||||||
|
|
||||||
|
- id: glance_db_user
|
||||||
|
from: resources/mariadb_user
|
||||||
|
values:
|
||||||
|
user_password: '{{user_password}}'
|
||||||
|
user_name: '{{user_name}}'
|
||||||
|
db_name: 'keystone_db::db_name'
|
||||||
|
login_user: 'keystone_db::login_user'
|
||||||
|
login_password: 'keystone_db::login_password'
|
||||||
|
login_port: 'keystone_db::login_port'
|
||||||
|
ip: 'keystone_db::ip'
|
||||||
|
ssh_user: 'keystone_db::ssh_user'
|
||||||
|
ssh_key: 'keystone_db::ssh_key'
|
28
templates/glance_register.yml
Normal file
28
templates/glance_register.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
id: glance_register_{{idx}}
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- id: keystone_config_{{idx}}
|
||||||
|
from: resources/keystone_config
|
||||||
|
values:
|
||||||
|
config_dir: '/etc/solar/keystone_{{idx}}'
|
||||||
|
db_host: '{{db_host}}'
|
||||||
|
db_port: '{{db_port}}'
|
||||||
|
db_name: '{{db_name}}'
|
||||||
|
db_user: '{{db_user}}'
|
||||||
|
db_password: '{{db_password}}'
|
||||||
|
ip: '{{ip}}'
|
||||||
|
ssh_user: '{{ssh_user}}'
|
||||||
|
ssh_key: '{{ssh_key}}'
|
||||||
|
|
||||||
|
|
||||||
|
- id: keystone_service_{{idx}}
|
||||||
|
from: resources/keystone_service
|
||||||
|
values:
|
||||||
|
image: 'kollaglue/centos-rdo-k-keystone'
|
||||||
|
config_dir: 'keystone_config_{{idx}}::config_dir'
|
||||||
|
ip: 'keystone_config_{{idx}}::ip'
|
||||||
|
ssh_user: 'keystone_config_{{idx}}::ssh_user'
|
||||||
|
ssh_key: 'keystone_config_{{idx}}::ssh_key'
|
||||||
|
|
||||||
|
tags: ['resources/keystone', 'resource/keystone_api']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user