Commit Graph

6 Commits

Author SHA1 Message Date
Guilherme Steinmüller 9e3bd3f320 Retire openstack-ansible-os_monasca
Change-Id: Ie8da46562c150885010b47980a1ee26bff4d3bc5
2019-06-11 20:22:23 +00:00
ZhijunWei d70b99cfcb use include_tasks instead of include
include is marked as deprecated since ansible 2.4[0]

Switch to include_tasks or import_playbook as necessary

[0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated

Change-Id: I4bc3b952a87ff0351070f87746ee4b63e590aa2d
2018-08-22 11:43:22 -04:00
Jesse Pretorius 0218b5e5e1 Use monasca venv for influxdb setup
Instead of pip installing onto the host, we use the
influxdb in the monasca venv to do the influxdb database,
user, etc setup. This prevents interference between pip
installed packages and distribution packages, keeping the
line between host installed packages and venv installed
packages clean.

The venv is only deployed on the monasca_api servers, so
we change the group used for executing the tasks to the
right group for it to work.

Change-Id: I6e1f86a789f188dff611d522a3309a355f7cd8e8
2018-08-19 19:25:38 +00:00
Kaio Kassiano Moura Oliveira 800324d599 Revert "Use group_names to check a host belongs to group"
This reverts commit def3818792.

Those changes are causing troubles when running Zuul functional tests.

Change-Id: I13627b11c2a85b7a7dfc6c9950a36d08b162b9f5
2017-12-22 12:49:09 +00:00
Cuong Nguyen def3818792 Use group_names to check a host belongs to group
Change-Id: I203fa5a2bee7d3e8e817896d3bb74f946e4f128f
2017-12-01 10:06:48 +07:00
Flávio Ramalho b884927071 Monasca role refactoring[+docs]
This patch refactors the whole monasca role by bringing consistency
with the other openstack-ansible roles. Main changes include:
  - Install services on its specific cointainer;
  - monasca-thresh, monasca-notification and monasca-persister was
    not being installed/configured, now it is;
  - Tempest tests are ran for the whole monasca-api;
  - The service should be fully functional;
  - Added documentation.

The extras directory contains the changes necessary to openstack-
ansible to setup monasca.

Change-Id: Ib53d4311c4b4aa722c7cdf7b18632e23b8639a56
2017-06-19 14:45:02 -03:00