|
@@ -3,11 +3,25 @@
|
3
|
3
|
|
4
|
4
|
- name: Ensure repository key for Rspamd is in place
|
5
|
5
|
apt_key: url=https://rspamd.com/apt-stable/gpg.key state=present
|
|
6
|
+ when: ansible_architecture != "armv7l"
|
|
7
|
+ tags:
|
|
8
|
+ - dependencies
|
|
9
|
+
|
|
10
|
+- name: Ensure yunohost repository key for Rspamd is in place for ARM
|
|
11
|
+ apt_key: url=http://repo.yunohost.org/debian/yunohost.asc state=present
|
|
12
|
+ when: ansible_architecture == "armv7l"
|
6
|
13
|
tags:
|
7
|
14
|
- dependencies
|
8
|
15
|
|
9
|
16
|
- name: Add Rspamd repository
|
10
|
17
|
apt_repository: repo="deb https://rspamd.com/apt-stable/ {{ ansible_distribution_release }} main"
|
|
18
|
+ when: ansible_architecture != "armv7l"
|
|
19
|
+ tags:
|
|
20
|
+ - dependencies
|
|
21
|
+
|
|
22
|
+- name: Add yunohost Rspamd repository for ARM
|
|
23
|
+ apt_repository: repo="deb http://repo.yunohost.org/debian {{ ansible_distribution_release }} stable"
|
|
24
|
+ when: ansible_architecture == "armv7l"
|
11
|
25
|
tags:
|
12
|
26
|
- dependencies
|
13
|
27
|
|