add possibility to install synapse on raspberry pi
This commit is contained in:
@ -44,3 +44,10 @@
|
||||
- "{{ matrix_server_fqn_matrix }}"
|
||||
- "{{ matrix_server_fqn_riot }}"
|
||||
when: "item != item|lower"
|
||||
|
||||
# ansible lower than 2.8, does not support docker_image build parameters
|
||||
# for Raspberry pi it is explicitly needed, so we rather fail here
|
||||
- name: Fail if running on Ansible lower than 2.8 and targeting Raspberry pi
|
||||
fail:
|
||||
msg: "To target Raspberry pi, you should usa ansible 2.8 or higher. E.g. pip contains such packages."
|
||||
when: "ansible_version.major == 2 and ansible_version.minor < 8 and matrix_raspberry_pi"
|
||||
|
@ -4,10 +4,10 @@
|
||||
when: ansible_distribution == 'CentOS'
|
||||
|
||||
- include_tasks: "{{ role_path }}/tasks/server_base/setup_debian.yml"
|
||||
when: (ansible_os_family == 'Debian') and (ansible_lsb.id != 'Raspbian')
|
||||
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')
|
||||
when: "matrix_raspberry_pi"
|
||||
|
||||
- name: Ensure Docker is started and autoruns
|
||||
service:
|
||||
|
@ -22,6 +22,8 @@
|
||||
group: "{{ matrix_user_username }}"
|
||||
with_items:
|
||||
- "{{ matrix_base_data_path }}"
|
||||
- "{{ matrix_docker_src_files_path }}"
|
||||
- "{{ matrix_docker_synapse_src_files_path }}"
|
||||
|
||||
# `docker_network` doesn't work as expected when the given network
|
||||
# is a substring of a network that already exists.
|
||||
|
Reference in New Issue
Block a user