solar/templates/glance_registry.yml
Łukasz Oleś adb2ef6f64 Add glance
2015-06-25 14:02:27 +00:00

27 lines
714 B
YAML

id: glance_register_{{idx}}
resources:
- id: glance_config_{{idx}}
from: resources/glance_config
values:
keystone_admin_port: '{{keystone_admin_port}}'
keystone_ip: '{{keystone_ip}}'
mysql_password: '{{mysql_password}}'
mysql_user: '{{mysql_user}}'
mysql_db: '{{mysql_db}}'
mysql_ip: '{{mysql_ip}}'
ip: '{{ip}}'
ssh_user: '{{ssh_user}}'
ssh_key: '{{ssh_key}}'
- id: glance_registry_{{idx}}
from: resources/glance_registry_service
values:
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']