Parcourir la source

check if target distro is Raspbian and install docker accordingly

pull/386/head
Horvath Gergely il y a 6 ans
Parent
révision
6232a81caf
2 fichiers modifiés avec 1 ajouts et 4 suppressions
  1. +0
    -3
      roles/matrix-base/defaults/main.yml
  2. +1
    -1
      roles/matrix-base/tasks/server_base/setup.yml

+ 0
- 3
roles/matrix-base/defaults/main.yml Voir le fichier

@@ -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

+ 1
- 1
roles/matrix-base/tasks/server_base/setup.yml Voir le fichier

@@ -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:


Chargement…
Annuler
Enregistrer