ansible-role-container-regi.../tasks/cleanup-engine.yml
Alex Schultz 91f652a932 Fixing ci
* adding task names to satisfy lint
* fixing requirements for test setup

Change-Id: Ic7f019c5f58b456cb36c62283bf72a195d82c299
2021-06-28 13:14:27 -06:00

18 lines
394 B
YAML

- name: Cleanup Engine
block:
- name: Remove docker
package:
name:
- docker
state: absent
register: remove_docker
when:
- container_registry_docker_install is defined
- container_registry_docker_install is changed
rescue:
- name: Failed removing docker
debug:
msg: "unable to remove docker"
become: true