Split up the docker role definitions into separate files
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2023-03-31 11:08:42 +02:00
parent 1e3249e5e8
commit 2f19e6faa5
5 changed files with 74 additions and 11 deletions

View File

@@ -8,16 +8,13 @@
# ===================================================================================================
---
- name: Get docker script
get_url:
url: https://get.docker.com
dest: /tmp/get-docker.sh
mode: 0755
- include_tasks: check_version.yml
- name: Run docker script
shell: /tmp/get-docker.sh
- include_tasks: download.yml
when: docker_update is defined
- name: Remove docker script
file:
path: /tmp/get-docker.sh
state: absent
- include_tasks: install.yml
when: docker_update is defined
- include_tasks: cleanup.yml
when: docker_update is defined