Role os_cloudkitty for OpenStack-Ansible
Go to file
Jesse Pretorius ddb31b12a8 Execute service setup against a delegated host using Ansible built-in modules
In order to reduce the packages required to pip install on to the hosts,
we allow the service setup to be delegated to a specific host, defaulting
to the deploy host. We also switch as many tasks as possible to using the
built-in Ansible modules which make use of the shade library.

The 'virtualenv' package is now installed appropriately by the openstack_hosts
role, so there's no need to install it any more. The 'httplib2' package is a
legacy Ansible requirement for the get_url/get_uri module which is no longer
needed. The keystone client library is not required any more now that we're
using the upstream modules. As there are no required packages left, the task
to install them is also removed.

With the dependent patches, the openstack_openrc role is now executed once
on the designated host, so it is no longer required as a meta-dependency for
the role.

Depends-On: https://review.openstack.org/579233
Depends-On: https://review.openstack.org/579959
Change-Id: Ib46638d1cb35e677ecfe789a32bb69a024042d6f
2018-07-06 13:48:47 +00:00
defaults Execute service setup against a delegated host using Ansible built-in modules 2018-07-06 13:48:47 +00:00
doc Updated from global requirements 2018-03-15 07:33:03 +00:00
extras Move database creation into role 2018-06-12 20:40:05 +01:00
handlers Use listen instead of chained notifiers 2018-03-17 14:13:00 -07:00
meta Execute service setup against a delegated host using Ansible built-in modules 2018-07-06 13:48:47 +00:00
releasenotes Execute service setup against a delegated host using Ansible built-in modules 2018-07-06 13:48:47 +00:00
tasks Execute service setup against a delegated host using Ansible built-in modules 2018-07-06 13:48:47 +00:00
templates Use coordination to prevent duplicate pricing 2018-06-18 14:16:16 +02:00
tests Execute service setup against a delegated host using Ansible built-in modules 2018-07-06 13:48:47 +00:00
vars Add openSUSE support 2018-06-24 12:31:35 -04:00
zuul.d Switch to using project-templates 2018-06-24 17:48:59 +00:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-27 15:50:59 +00:00
.gitreview Implement base configuration for OpenStack-CI 2016-07-01 09:35:24 -07:00
CONTRIBUTING.rst Update the outdated links 2018-05-08 10:11:17 +08:00
LICENSE Implement base configuration for OpenStack-CI 2016-07-01 09:35:24 -07:00
README.rst Merge "Update server to service" 2018-07-02 23:55:59 +00:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:40:47 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:05:56 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 18:01:18 +00:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-04-30 05:13:43 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 09:36:46 +08:00
setup.py Updated from global requirements 2017-03-02 11:51:36 +00:00
tox.ini Use tests repo for common role test requirements 2018-07-02 12:38:54 -04:00

README.rst

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 service
  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"
Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-os_cloudkitty/latest/

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/openstack-ansible-os_cloudkitty/

The project source code repository is located at:

https://git.openstack.org/cgit/openstack/openstack-ansible-os_cloudkitty/

The project home is at:

https://launchpad.net/openstack-ansible