RETIRED, Role os_watcher for OpenStack-Ansible
Go to file
Michael Gugino c64bdbc92a Watcher Role configuration
This commit adds necessary components for the os_watcher
role to be consumed properly.

Change-Id: I760a5af77f6baccbc7ac87e001223b3f06233449
2016-08-23 10:26:05 -04:00
defaults Initial commit 2016-08-22 13:37:00 -04:00
doc Initial commit 2016-08-22 13:37:00 -04:00
examples Watcher Role configuration 2016-08-23 10:26:05 -04:00
handlers Initial commit 2016-08-22 13:37:00 -04:00
meta Initial commit 2016-08-22 13:37:00 -04:00
releasenotes Watcher Role configuration 2016-08-23 10:26:05 -04:00
tasks Watcher Role configuration 2016-08-23 10:26:05 -04:00
templates Initial commit 2016-08-22 13:37:00 -04:00
tests Initial commit 2016-08-22 13:37:00 -04:00
vars Watcher Role configuration 2016-08-23 10:26:05 -04:00
.gitignore Initial commit 2016-08-22 13:37:00 -04:00
.gitreview Watcher Role configuration 2016-08-23 10:26:05 -04:00
bindep.txt Watcher Role configuration 2016-08-23 10:26:05 -04:00
CONTRIBUTING.rst Watcher Role configuration 2016-08-23 10:26:05 -04:00
LICENSE Initial commit 2016-08-22 13:37:00 -04:00
README.rst Initial commit 2016-08-22 13:37:00 -04:00
run_tests.sh Initial commit 2016-08-22 13:37:00 -04:00
setup.cfg Initial commit 2016-08-22 13:37:00 -04:00
setup.py Initial commit 2016-08-22 13:37:00 -04:00
test-requirements.txt Initial commit 2016-08-22 13:37:00 -04:00
tox.ini Initial commit 2016-08-22 13:37:00 -04:00
Vagrantfile Watcher Role configuration 2016-08-23 10:26:05 -04:00

OpenStack Watcher

Ansible Role that installs and configures OpenStack Watcher.

This role will install the following:
  • watcher-api
  • watcher-decision-engine
  • watcher-applier

The role will configure Watcher, but does not provision RabbitMQ or MariaDB.

This role is intended to work primarily with OpenStack-Ansible, but consuming this role by setting the appropriate variables should be possible. See the tests/test-install-watcher.yml for example playbook.

Default Variables

../../defaults/main.yml

Example Playbook

- name: Install watcher server
  hosts: watcher_all
  user: root
  roles:
    - { role: "os_watcher", tags: [ "os-watcher" ] }
  vars:
    watcher_developer_mode: True
    watcher_galera_address: 10.100.102.101
    watcher_galera_database: watcher
    watcher_galera_user: watcher
    watcher_galera_password: "secrete"
    watcher_rabbitmq_port: "{{ rabbitmq_port }}"
    watcher_rabbitmq_servers: "{{ rabbitmq_servers }}"
    watcher_rabbitmq_use_ssl: "{{ rabbitmq_use_ssl }}"
    watcher_rabbitmq_password: "secrete"
    watcher_rabbitmq_userid: watcher
    watcher_rabbitmq_vhost: /watcher
    watcher_requirements_git_install_branch: master
    watcher_service_adminurl: "http://{{ internal_lb_vip_address }}:9322"
    watcher_service_password: "secrete"
    watcher_service_project_domain_id: default
    watcher_service_project_name: service
    watcher_service_region: RegionOne
    watcher_service_user_domain_id: default
    watcher_service_user_name: watcher
    watcher_bin: "/openstack/venvs/watcher-{{ watcher_venv_tag }}/bin"
    watcher_venv_tag: "testing"

Tags

This role supports two tags: watcher-install and watcher-config.

The watcher-install tag can be used to install and upgrade.

The watcher-config tag can be used to maintain configuration of the service.