
Instead of running a bunch of tasks to manage systemd resources, move it into an action plugin which should make the execution faster and easier to debug as well. Example of task: - name: Manage container systemd services container_systemd: container_config: - keystone: image: quay.io/tripleo/keystone restart: always - mysql: image: quay.io/tripleo/mysql stop_grace_period: 25 restart: always The output is "restarted" for the list of services that were actually restarted in systemd. Note on testing: since that module is consummed by tripleo_container_manage role, there is no need to create dedicated molecule tests, we already cover containers with restart policy in that role's molecule tests. So we'll re-use it. Co-Authored-By: Alex Schultz <aschultz@redhat.com> Co-Authored-By: Kevin Carter <kecarter@redhat.com> Change-Id: I614766bd9b111bda9ddfea0a60b032e1dee09abc
Team and repository tags
TripleO Ansible
TripleO Ansible project repository. Contains Ansible playbooks, roles, and plugins for use with TripleO.
Documentation for the project can be found at: https://docs.openstack.org/tripleo-ansible/latest/
Release notes for the project can be found at: https://docs.openstack.org/releasenotes/tripleo-ansible/
The project source code repository is located at: https://opendev.org/openstack/tripleo-ansible/
The project home is at: https://launchpad.net/tripleo
The project bug tracker is located at: https://bugs.launchpad.net/tripleo
Description
RETIRED, TripleO Ansible project repository. Contains playbooks for use with TripleO OpenStack deployments.