|
@@ -16,6 +16,14 @@
|
16
|
16
|
apt_repository: repo='deb http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/ /'
|
17
|
17
|
when: ansible_distribution == 'Debian'
|
18
|
18
|
|
|
19
|
+- name: Ensure repository key for ownCloud is in place
|
|
20
|
+ apt_key: url=http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/Release.key state=present
|
|
21
|
+ when: ansible_distribution == 'Ubuntu'
|
|
22
|
+
|
|
23
|
+- name: Add ownCloud OpenSuSE repository
|
|
24
|
+ apt_repository: repo='deb http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/ /'
|
|
25
|
+ when: ansible_distribution == 'Ubuntu'
|
|
26
|
+
|
19
|
27
|
- name: Install ownCloud (possibly from OpenSuSE repository)
|
20
|
28
|
apt: pkg=owncloud update_cache=yes
|
21
|
29
|
|