install_docker/tasks/main.yml
Bertrand Lanson 48d2804837
All checks were successful
test / Linting (push) Successful in 40s
test / Molecule tests (default, ubuntu2004) (push) Successful in 2m9s
test / Molecule tests (default, debian11) (push) Successful in 2m21s
test / Molecule tests (default, debian12) (push) Successful in 2m38s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m48s
test / Molecule tests (default, ubuntu2204) (push) Successful in 2m1s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m49s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 2m6s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 2m24s
feat: add become true to start docker service
2023-11-30 18:03:53 +01:00

26 lines
691 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
become: true
when: install_docker_start_service