Files
ansible-automations/roles/docker/tasks/main.yml
Noah Knegt aa9e658986
Some checks failed
continuous-integration/drone Build is failing
Fix the yamllint errors
Signed-off-by: Noah Knegt <git@noahknegt.com>
2023-03-30 14:28:10 +02:00

24 lines
788 B
YAML

# ===================================================================================================
# ? ABOUT
# @author : Noah Knegt
# @email : personal@noahknegt.com
# @repo : https://git.noahknegt.com/noah.knegt/ansible-automations
# @createdOn : 27-03-2023
# @description : This will make sure that docker is installed on the machine.
# ===================================================================================================
---
- name: Get docker script
get_url:
url: https://get.docker.com
dest: /tmp/get-docker.sh
mode: 0755
- name: Run docker script
shell: /tmp/get-docker.sh
- name: Remove docker script
file:
path: /tmp/get-docker.sh
state: absent