ansible-role-docker/tasks/main.yml

13 lines
236 B
YAML
Raw Normal View History

2024-10-16 19:22:03 +00:00
- 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