Split up the docker role definitions into separate files
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user