solar/templates/glance_registry.yaml
2015-09-15 12:20:12 +02: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']