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
Use Docker python library and leverage AnsibleDockerClient class for error
handling and Docker connection.
Change-Id: I4c947dcdcad7344d70089a51658bc52362da40b3
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
* 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