mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-12-14 06:40:21 +01:00
8 lines
333 B
YAML
8 lines
333 B
YAML
---
|
|
|
|
- name: Ensure docker is uninstalled using amazon-linux-extras
|
|
ansible.builtin.command:
|
|
cmd: amazon-linux-extras uninstall docker
|
|
register: uninstall_docker_from_amazon_linux
|
|
changed_when: uninstall_docker_from_amazon_linux.rc == 0
|
|
become: "{{ k3s_become_for_uninstall | ternary(true, false, k3s_become_for_all) }}"
|