Browse Source

make sure Raspbian is not handled the same as Debian

pull/386/head
Gergely Horváth 6 years ago
parent
commit
05966c8cff
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      roles/matrix-base/tasks/server_base/setup.yml

+ 4
- 1
roles/matrix-base/tasks/server_base/setup.yml View File

@@ -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…
Cancel
Save