|
|
|
|
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
|
- name: Install ownCloud dependencies
|
4
|
- name: Install ownCloud dependencies
|
6
|
apt: pkg={{ item }} state=present
|
5
|
apt: pkg={{ item }} state=present
|
|
|
|
|
21
|
- name: Create database for ownCloud
|
20
|
- name: Create database for ownCloud
|
22
|
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 }}
|
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
|
tags:
|
26
|
tags:
|
28
|
- dependencies
|
27
|
- dependencies
|
29
|
|
28
|
|