9653ed70a7
There is no record for why we implement the database creation outside of the role in the playbook, when we could do it inside the role. Implementing it inside the role allows us to reduce the quantity of group_vars duplicated from the role, and allows us to better document the required variables in the role. The delegation can still be done as it is done in the playbook too. In this patch we implement a new variable called 'keystone_db_setup_host' which is used in the role to allow delegation of the database setup task to any host, but defaults to the first member of the galera_all host group. We also document the variable keystone_galera_address which has been used for a long time, but never documented. Change-Id: I2e4ca01a849a907558caec2dc05aa0b7ae009333
37 lines
1.3 KiB
YAML
37 lines
1.3 KiB
YAML
---
|
|
- name: Installation and setup of Keystone
|
|
hosts: keystone_all
|
|
user: root
|
|
roles:
|
|
- { role: "os_keystone", tags: [ "os-keystone" ] }
|
|
vars:
|
|
external_lb_vip_address: 10.100.100.102
|
|
internal_lb_vip_address: 10.100.100.102
|
|
keystone_galera_address: 10.100.100.101
|
|
keystone_galera_database: keystone
|
|
keystone_venv_tag: "testing"
|
|
keystone_developer_mode: true
|
|
keystone_git_install_branch: master
|
|
keystone_auth_admin_password: "SuperSecretePassword"
|
|
keystone_service_password: "secrete"
|
|
keystone_oslomsg_rpc_password: "secrete"
|
|
keystone_oslomsg_notify_password: "secrete"
|
|
keystone_container_mysql_password: "SuperSecrete"
|
|
keystone_oslomsg_rpc_transport: rabbit
|
|
keystone_oslomsg_rpc_servers: 10.100.100.101
|
|
keystone_oslomsg_rpc_port: 5671
|
|
keystone_oslomsg_rpc_use_ssl: true
|
|
keystone_oslomsg_rpc_userid: keystone
|
|
keystone_oslomsg_rpc_vhost: /keystone
|
|
keystone_oslomsg_notify_transport: rabbit
|
|
keystone_oslomsg_notify_servers: 10.100.100.101
|
|
keystone_oslomsg_notify_port: 5671
|
|
keystone_oslomsg_notify_use_ssl: true
|
|
keystone_oslomsg_notify_userid: keystone
|
|
keystone_oslomsg_notify_vhost: /keystone
|
|
galera_client_drop_config_file: false
|
|
galera_root_user: root
|
|
vars_prompt:
|
|
- name: "galera_root_password"
|
|
prompt: "What is galera_root_password?"
|