3fec5b02eca1d8e2a3fe17735026b6641df958e5
Go to file
Jesse Pretorius 3fec5b02ec Move database creation into role
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 'cloudkitty_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 cloudkitty_galera_address which
has been used for a long time, but never documented.
Change-Id: I7bb3f38556558ef14723361d3672a1d06f839b52
2018年06月12日 20:40:05 +01:00
2018年06月12日 20:40:05 +01:00
2018年03月15日 07:33:03 +00:00
2018年06月12日 20:40:05 +01:00
2018年03月17日 14:13:00 -07:00
2017年12月05日 11:54:44 +00:00
2018年06月12日 20:40:05 +01:00
2018年04月11日 13:54:02 +02:00
2018年04月26日 13:23:26 +01:00
2018年03月27日 15:50:59 +00:00
2016年07月01日 09:35:24 -07:00
2017年12月06日 00:05:56 +00:00
2018年05月08日 10:11:17 +08:00
2016年07月01日 09:35:24 -07:00
2016年09月27日 18:01:18 +00:00
2018年03月03日 03:12:04 +00:00
2018年04月30日 05:13:43 +00:00
2017年03月02日 11:51:36 +00:00
2018年03月15日 07:33:03 +00:00
2018年03月28日 10:13:35 +01:00
2018年06月06日 00:40:47 +00:00

Team and repository tags

image

OpenStack-Ansible CloudKitty

tags

openstack, cloudkitty, cloud, ansible

category

*nix

This Ansible role installs and configures OpenStack cloudkitty.

This role will install the following Upstart services:
  • cloudkitty-api
  • cloudkitty-processor

Required Variables

 cloudkitty_service_password
 cloudkitty_rabbitmq_password
 cloudkitty_container_mysql_password
 cloudkitty_galera_address

Example Playbook

 -name: Install cloudkitty server
 hosts: cloudkitty_all
 user: root
 roles:
 -{role:"os_cloudkitty",tags:["os-cloudkitty"]}
 vars:
 external_lb_vip_address:172.16.24.1
 internal_lb_vip_address:192.168.0.1
 cloudkitty_galera_address:"{{ internal_lb_vip_address }}"
 cloudkitty_container_mysql_password:"SuperSecretePassword1"
 cloudkitty_service_password:"SuperSecretePassword2"
 cloudkitty_rabbitmq_password:"SuperSecretePassword3"
Description
Role os_cloudkitty for OpenStack-Ansible
Readme 2.8 MiB
Languages
Python 56.4%
Jinja 43.6%