Commit Graph

8 Commits

Author SHA1 Message Date
Guilherme Steinmüller 1f61130240 Retire openstack-ansible-os_watcher
Change-Id: I0dfd5318a7b953618673eb4ffd17f89a1cf900c4
2019-04-24 16:51:54 -04:00
Jesse Pretorius ac1d8f6f0a Remove galera_client meta-dependency
Given that pymysql is pure python and has no C binding
dependencies, we no longer need the role to install the
MariaDB client libraries.

Change-Id: Ibdc4cb8c00eeaf5c642d42b09bb311c3124e3de6
2018-09-15 16:45:43 -06:00
Jonathan Rosser 5bf0a5b963 Add bionic to galaxy_info metadata
Depends-On: https://review.openstack.org/#/c/587534/
Change-Id: I6bce3d0d777eb9c065676a0333fa0a31e31cc990
2018-08-02 20:32:31 +00:00
Jesse Pretorius 4bffc1e91f 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.

Change-Id: I32752523e9ed484bf0864be4db146bb333f9f55e
2018-07-14 14:43:20 +01:00
Jean-Philippe Evrard 34604b8a25 Remove pip_install dependency
With addition of pip_install on every node, we don't
need to have pip_install as a meta dependency.

Depends-On: If3412bb888ebb854874bbc43eb76bfcb3e4a7868
Depends-On: I79ff70c438b44753be2a93f004ebbc46de0a963d
Change-Id: Ic68c5ed5e2c546ee30e963fe0e10894f444ad30b
2017-12-05 11:56:37 +00:00
Jean-Philippe Evrard 1e2aea5ecd Add OpenStack-Ansible metadata
We need to add openstack ansible information in the role
metadata to be able to track role maturity. With it,
we can create a role maturity table and take decisions about
role deprecations.

The role status isn't "complete" because no functional test
of the role has been implemented.

Change-Id: I2cdcc7b5f232b93581dd7be4ab1adf8bcef72c4b
2017-10-11 09:11:36 +00:00
Jesse Pretorius 79b573451a Use updated get_url module checksum functionality
Starting in Ansible 2.0, the get_url [1] module provides the
ability for a checksum to be provided to the get_url module
which will be verified against the local destination file
and the task skipped if it matches.

[1] http://docs.ansible.com/ansible/get_url_module.html

This patch implements the use of this functionality.

The ability to ignore a venv download failure is also removed
as this is not necessary or desirable. It is better for the
download to fail and the playbook execution to stop immediately
so that the failure point is exposed.

Change-Id: I22304c2d6b019fae8e4234548c3811cb8b1eb02f
2016-11-09 21:54:44 +00:00
Michael Gugino 76a013f814 Initial commit
This is the initial commit for the watcher role.
2016-08-22 13:37:00 -04:00