Files
ansible-automations/roles/docker/tasks/main.yml
Noah Knegt a41d3550c5
Some checks failed
continuous-integration/drone/push Build is failing
Make sure users are added to the docker group. This is required to run docker commands without sudo.
Signed-off-by: Noah Knegt <git@noahknegt.com>
2023-03-31 11:33:59 +02:00

24 lines
824 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.
# ===================================================================================================
---
- include_tasks: check_version.yml
- include_tasks: download.yml
when: docker_update is defined
- include_tasks: install.yml
when: docker_update is defined
- include_tasks: addusers.yml
when: docker_update is defined
- include_tasks: cleanup.yml
when: docker_update is defined