make sure Raspbian is not handled the same as Debian

This commit is contained in:
Gergely Horváth 2020-01-13 12:52:28 +01:00
parent 675aaa1215
commit 05966c8cff

View file

@ -4,7 +4,10 @@
when: ansible_distribution == 'CentOS'
- include_tasks: "{{ role_path }}/tasks/server_base/setup_debian.yml"
when: ansible_os_family == 'Debian'
when: (ansible_os_family == 'Debian') and (ansible_lsb.id != 'Raspbian')
- include_tasks: "{{ role_path }}/tasks/server_base/setup_raspbian.yml"
when: (ansible_os_family == 'Debian') and (ansible_lsb.id == 'Raspbian')
- name: Ensure Docker is started and autoruns
service: