24 lines
786 B
YAML
24 lines
786 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
|