make sure Raspbian is not handled the same as Debian
This commit is contained in:
parent
675aaa1215
commit
05966c8cff
|
@ -4,7 +4,10 @@
|
||||||
when: ansible_distribution == 'CentOS'
|
when: ansible_distribution == 'CentOS'
|
||||||
|
|
||||||
- include_tasks: "{{ role_path }}/tasks/server_base/setup_debian.yml"
|
- 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
|
- name: Ensure Docker is started and autoruns
|
||||||
service:
|
service:
|
||||||
|
|
Loading…
Reference in a new issue