check if target distro is Raspbian and install docker accordingly
This commit is contained in:
parent
a5d94eec0b
commit
6232a81caf
@ -66,6 +66,3 @@ run_setup: true
|
||||
run_self_check: true
|
||||
run_start: true
|
||||
run_stop: true
|
||||
|
||||
# Raspberry pi depoly TODO: it should be identified based on the operating system
|
||||
matrix_raspberry_pi_deploy: false
|
@ -7,7 +7,7 @@
|
||||
when: (ansible_os_family == 'Debian') and (ansible_lsb.id != 'Raspbian')
|
||||
|
||||
- include_tasks: "{{ role_path }}/tasks/server_base/setup_raspbian.yml"
|
||||
when: "matrix_raspberry_pi_deploy"
|
||||
when: (ansible_os_family == 'Debian') and (ansible_lsb.id == 'Raspbian')
|
||||
|
||||
- name: Ensure Docker is started and autoruns
|
||||
service:
|
||||
|
Loading…
Reference in New Issue
Block a user