Added setup for nextcloud #1
6 changed files with 15 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
role-owncloud
|
||||
role-nextcloud
|
||||
=========
|
||||
|
||||
This role installs and configures the owncloud server and web UI
|
||||
This role installs and configures the nextcloud server and web UI
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
@ -23,8 +23,8 @@ Example Playbook Template
|
|||
|
||||
Playbook creation should be handled by playbook-builder. To include role in a playbook, add one of these lines (changing version/branch as needed) to the template with other core entries:
|
||||
|
||||
role:owncloud:v1.0:workload,owncloud
|
||||
role:owncloud:testing:workload,owncloud
|
||||
role:nextcloud:v1.0:workload,nextcloud
|
||||
role:nextcloud:testing:workload,nextcloud
|
||||
|
||||
License
|
||||
-------
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# defaults file for role-owncloud
|
||||
# defaults file for role-nextcloud
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# handlers file for role-owncloud
|
||||
# handlers file for role-nextcloud
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# tasks file for role-owncloud
|
||||
# tasks file for role-nextcloud
|
||||
- name: install nextcloud and dependencies
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
|
@ -17,7 +17,12 @@
|
|||
src: files/nextcloud-php.ini
|
||||
dest: /etc/webapps/nextcloud/php.ini
|
||||
|
||||
# determine how to handle /etc/webapps/nextcloud/config/config.php - it contains passwords. Probably just a symlink to the file
|
||||
- name: enforce symlink to nextclound config file
|
||||
ansible.builtin.file:
|
||||
src: /mnt/nextcloud/config.php
|
||||
dest: /etc/webapps/nextcloud/config/config.php
|
||||
state: link
|
||||
force: yes
|
||||
|
||||
- name: Create sessions directory
|
||||
ansible.builtin.file:
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
- hosts: localhost
|
||||
remote_user: root
|
||||
roles:
|
||||
- role-owncloud
|
||||
- role-nextcloud
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
# vars file for role-owncloud
|
||||
# vars file for role-nextcloud
|
||||
|
|
Loading…
Add table
Reference in a new issue