install_docker/tasks/main.yml

25 lines
676 B
YAML
Raw Normal View History

2023-04-04 19:15:48 +00:00
---
# task/main file for install_docker
2023-04-07 22:24:04 +00:00
- name: "Import prerequisites.yml"
ansible.builtin.include_tasks: prerequisites.yml
- name: "Import install.yml"
ansible.builtin.include_tasks: install.yml
- name: "Import install_compose.yml"
ansible.builtin.include_tasks: install_compose.yml
when: install_docker_compose
- name: "Import install_python_docker.yml"
ansible.builtin.include_tasks: install_python_docker.yml
2023-04-07 22:24:04 +00:00
when: install_docker_python_packages
- name: "Import configure.yml"
ansible.builtin.include_tasks: configure.yml
- name: "Start docker service"
ansible.builtin.service:
name: docker
state: started
when: install_docker_start_service