|
@@ -1,6 +1,5 @@
|
1
|
1
|
---
|
2
|
|
-# Installs the ownCloud personal cloud software
|
3
|
|
-# as per http://www.debiantutorials.com/how-to-install-owncloud-on-wheezy/
|
|
2
|
+# Installs the ownCloud personal cloud software.
|
4
|
3
|
|
5
|
4
|
- name: Install ownCloud dependencies
|
6
|
5
|
apt: pkg={{ item }} state=present
|
|
@@ -21,9 +20,9 @@
|
21
|
20
|
- name: Create database for ownCloud
|
22
|
21
|
postgresql_db: login_host=localhost login_user={{ db_admin_username }} login_password="{{ db_admin_password }}" name={{ owncloud_db_database }} state=present owner={{ owncloud_db_username }}
|
23
|
22
|
|
24
|
|
-- name: Ensure repository key for ownCloud is in place for Debian 7
|
25
|
|
- apt_key: url=http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/Release.key state=present
|
26
|
|
- when: ansible_distribution_release == 'wheezy'
|
|
23
|
+- name: Ensure repository key for ownCloud is in place for Debian Jesse
|
|
24
|
+ apt_key: url=http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_8.0/Release.key state=present
|
|
25
|
+ when: ansible_distribution_release == 'jessie'
|
27
|
26
|
tags:
|
28
|
27
|
- dependencies
|
29
|
28
|
|