-
Notifications
You must be signed in to change notification settings - Fork 2
/
install-nextcloud.yml
41 lines (35 loc) · 1.45 KB
/
install-nextcloud.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#* This playbook installs the Nextcloud/ownCloud service directory.
#* Note: this playbook should be used either from the main install playbook
#* (which resolves its dependencies) or as a shorthand for an already set up
#* system, where the dependencies are already provided.
#* Use '-a' to pass parameters to ansible (as '-e'). See ansible fetch for
#* details.
#* No arguments are mandatory.
# TODO import_playbook webserver and php-fpm and switch to the right user base
#- import_playbook: install-webserver.yml
- hosts: app.nextcloud
become: True
roles:
- inofix.nextcloud
- hosts: app.owncloud
become: True
vars:
app__nextcloud__archive: '{{ app__owncloud__archive }}'
app__nextcloud__base: '{{ app__owncloud__base }}'
app__nextcloud__checksum: '{{ app__owncloud__checksum }}'
app__nextcloud__download_upstream: '{{ app__owncloud__download_upstream }}'
app__nextcloud__group: '{{ app__owncloud__group }}'
app__nextcloud__home: '{{ app__owncloud__home }}'
app__nextcloud__name: '{{ app__owncloud__name }}'
app__nextcloud__package: '{{ app__owncloud__package }}'
app__nextcloud__version: '{{ app__owncloud__version }}'
app__nextcloud__user: '{{ app__owncloud__user }}'
roles:
- inofix.nextcloud
# not enabling this yet, as it only tracks 'today'
# it is only useful for human communication and needs
# to be combined with something smarter as
# dpkg --get-selections
#- hosts: all
# roles:
# - track-packages