tripleo-common/releasenotes/notes/tripleo-docker-rm-b64297d5f9f42988.yaml
Emilien Macchi 978088904d Implement tripleo-docker-rm role
tripleo-docker-rm
=================

An Ansible role to remove Docker containers when Podman is enabled.

Requirements
------------

It requires python-docker on the host.

Role variables
--------------

- container_cli: -- Name of the Container CLI tool (default to docker).
- containers_to_rm: -- List of containers to remove.

Example Playbook
----------------

Sample playbook to call the role:

  - name: Remove Nova API docker containers
    hosts: all
    roles:
      - tripleo-docker-rm
    vars:
      containers_to_rm:
        - nova_api
        - nova_api_cron
      container_cli: podman

This role will be consummed by THT in post_upgrade_tasks.

Change-Id: I03ad922c61ddd0b4a34935e1e17c0b37cd71ee03
2018-11-09 14:05:06 +00:00

6 lines
158 B
YAML

---
features:
- |
The new tripleo-docker-rm will be useful to remove the containers that
were managed by Docker and that are now managed by Podman.