Browse Source

Add opensuse ubuntu 14.04 compatible owncloud repo

Jamil Bou Kheir 10 years ago
parent
commit
4867ae256f
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      roles/owncloud/tasks/owncloud.yml

+ 8
- 0
roles/owncloud/tasks/owncloud.yml View File

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

Loading…
Cancel
Save