Commit Graph

16 Commits

Author SHA1 Message Date
Ghanshyam Mann 7350bf7eb8 Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic84ac5786ecc68729827ff35ad7ee3ef21a6652f
2024-02-24 11:40:51 -08:00
Alex Schultz 657df296ac Fix ci
* bump hacking
* ignore E402 module level import not at top of file

Change-Id: I3a45be5250446d4f7cb51b9d53d09d362f4c1a45
2021-06-25 09:48:30 -06:00
Jill Rouleau d230e9f563 Handle missing keys in service_names
Fixes a bug where a service map entry had to have both a systemd_unit and a
container_name defined for any service. Both are possible to provide support
for baremetal and containerized clouds, but should not be required.

Change-Id: I1f48290ed04444c5e829272d965951c209a9fe58
2018-10-02 16:00:55 -07:00
Zuul f169f02227 Merge "Add missing license file" 2018-07-27 18:10:47 +00:00
Zuul 32bbdc447c Merge "Correct variable names in module and tasks file" 2018-07-27 16:48:01 +00:00
Jill Rouleau d1c29f9124 Add missing license file
Add LICENSE file to repo and add license text to service_map lib

Change-Id: I21dbd3dec9a439c37a805ffae24ede9377edd075
2018-07-27 16:42:23 +00:00
Sam Doran f4323aad3d Refactor docker_facts.py
Use Docker python library and leverage AnsibleDockerClient class for error
handling and Docker connection.

Change-Id: I4c947dcdcad7344d70089a51658bc52362da40b3
2018-07-26 18:30:31 +00:00
Sam Doran 50cd84431e Correct variable names in module and tasks file
Change-Id: Ibfb112aa4dcd2dc1c545c4f900607052d1d8a7a0
2018-07-24 22:56:20 +00:00
Emilien Macchi 353c9dbfe4 Add basic jobs in Zuul Layout and .gitreview
Based on other TripleO Ansible roles.

Also add in basic plumbing required to enable the jobs and fix for
various linting issues.

Co-Authored-By: Alex Schultz <aschultz@redhat.com>
Change-Id: Ia42b6f736605bdff46030706b19363143b04a7c0
2018-07-24 16:54:47 -06:00
Sam Doran 311dab0336 Change service_mgmt_facts module name and variables
Simplfy parameter names.
Change output variable names to clearly describe what they contain as well as avoid name collisions with other facts.
2018-06-11 15:27:58 -04:00
Jill R c41f797608 Add fact module, tasks, example playbook, and service mapping file (#1)
* Add fact module, tasks, example playbook, and service mapping file for supporting service restarts

* Improve service restart tasks and module

Support user-defined custom service maps, processing of service lists,
improved exception handling in get_docker_containers.  Moved default
service map to vars.

* Cleanup variables

Move mapping file to a variable, condense extraneous steps to combine default
and user maps into an in-task step, some better var naming
2018-06-11 15:08:02 -04:00
Sam Doran bea9ec05dd Improve docker_facts.py
Change containers to returning a list of dicts containing name, ID, and state.
2018-06-05 10:37:41 -04:00
Sam Doran b7c5af9803 Add docs to docker_facts.py 2018-05-01 16:05:56 -04:00
Sam Doran 123cd4a3e3 Improve docker_facts plugin 2018-04-27 17:06:03 -04:00
Sam Doran 529c4d94ed Improve docker_facts module
Create a function for running the Docker command
Return both filtered and unfiltered lists of images, volumes, and containers
2018-04-23 18:11:11 -04:00
Sam Doran f60191f1b4 Use custom docker_facts module to get Docker info 2018-04-23 15:37:08 -04:00