91f652a932
* adding task names to satisfy lint * fixing requirements for test setup Change-Id: Ic7f019c5f58b456cb36c62283bf72a195d82c299
18 lines
394 B
YAML
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
|
|
|