install_docker/handlers/main.yml

14 lines
302 B
YAML
Raw Normal View History

2023-04-04 19:15:48 +00:00
---
# 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"