Files
ansible-automations/roles/docker/tasks/main.yml

24 lines
824 B
YAML
Raw Normal View History

# ===================================================================================================
# ? 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