install_docker/handlers/main.yml
Bertrand Lanson 3daa587e89
Some checks failed
test / Linting (push) Successful in 35s
test / Molecule tests (default, debian11) (push) Successful in 1m39s
test / Molecule tests (default, ubuntu2204) (push) Successful in 2m4s
test / Molecule tests (default, ubuntu2004) (push) Successful in 3m27s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Has been cancelled
test / Molecule tests (with_custom_config, ubuntu2004) (push) Has been cancelled
test / Molecule tests (with_custom_config, debian11) (push) Has been cancelled
test / Molecule tests (with_custom_config, debian12) (push) Has been cancelled
test / Molecule tests (default, debian12) (push) Successful in 2m52s
feat: remove become from playbook
2023-12-03 17:29:45 +01:00

15 lines
339 B
YAML

---
# handlers file for install_docker
- name: "Enable docker service"
ansible.builtin.service:
name: docker
enabled: true
listen: "systemctl-enable-docker"
- name: "Reload docker service"
ansible.builtin.service:
name: docker
state: reloaded
listen: "systemctl-reload-docker"
when: install_docker_start_service