ansible-role-docker/tasks/main.yml
2024-10-16 19:22:03 +00:00

13 lines
No EOL
236 B
YAML

- include_tasks: setup-RedHat.yml
when: ansible_os_family == 'RedHat'
- include_tasks: setup-Debian.yml
when: ansible_os_family == 'Debian'
- name: restart docker
service:
name: docker
state: restarted
enabled: yes