install_docker/tasks/main.yml
Bertrand Lanson ad984efa64
All checks were successful
test / Linting (push) Successful in 36s
test / Molecule tests (default, debian12) (push) Successful in 1m51s
test / Molecule tests (default, debian11) (push) Successful in 2m17s
test / Molecule tests (default, ubuntu2004) (push) Successful in 2m29s
test / Molecule tests (default, ubuntu2204) (push) Successful in 2m0s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m44s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m55s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 2m6s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 2m17s
remove destructive behaviour by never restarting docker, only reloads
2023-09-07 18:01:46 +02:00

25 lines
676 B
YAML

---
# task/main file for install_docker
- 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
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