Debian Codegraph @

ansible_collections/community/docker/tests/integration/targets/connection_docker_api/shutdown.yml

raw
1 ---
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 - hosts: localhost
7 connection: local
8 vars:
9 docker_skip_cleanup: true
10
11 tasks:
12 - name: Remove docker packages
13 action: "{{ ansible_facts.pkg_mgr }}"
14 args:
15 name:
16 - docker
17 - docker-ce
18 - docker-ce-cli
19 state: absent
20 when: not docker_skip_cleanup