2019-12-09 14:53:42 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Ensure docker is installed using Zypper
|
2020-12-12 15:27:59 +01:00
|
|
|
community.general.zypper:
|
2019-12-09 14:53:42 +01:00
|
|
|
name: docker
|
|
|
|
state: present
|
2020-02-26 21:05:38 +01:00
|
|
|
register: ensure_docker_prerequisites_installed
|
|
|
|
until: ensure_docker_prerequisites_installed is succeeded
|
|
|
|
retries: 3
|
|
|
|
delay: 10
|
2019-12-09 14:53:42 +01:00
|
|
|
notify:
|
|
|
|
- restart docker
|
2020-05-20 19:50:58 +02:00
|
|
|
become: "{{ k3s_become_for_package_install | ternary(true, false, k3s_become_for_all) }}"
|
2019-12-09 14:53:42 +01:00
|
|
|
|
2021-03-14 17:29:14 +01:00
|
|
|
- name: Flush Handlers
|
|
|
|
meta: flush_handlers
|