Skip to content

Commit

Permalink
Allow to more easily control LibreOffice and documents app deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ypid committed Jul 5, 2016
1 parent f6f6bea commit 839e06d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
31 changes: 27 additions & 4 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@ owncloud_base_packages:
- '{{ "php5-redis" if (owncloud_redis_enabled|bool) else [] }}'


# .. envvar:: owncloud_packages_recommended
#
# List of recommended packages for ownCloud.
# If you don’t want to install them, set::
#
# owncloud_packages_recommended: []
#
# in your inventory.
owncloud_packages_recommended:
## https://doc.owncloud.org/server/9.0/admin_manual/installation/source_installation.html
## https://doc.owncloud.org/server/9.0/admin_manual/configuration_files/collaborative_documents_configuration.html
- '{{ [ "libreoffice" ] if (owncloud_app_documents_enabled|bool) else [] }}'


# .. envvar:: owncloud_packages_optional
#
# List of optional packages for ownCloud.
Expand All @@ -41,10 +55,6 @@ owncloud_packages_optional:
- 'smbclient'
- 'libsmbclient'

## https://doc.owncloud.org/server/9.0/admin_manual/installation/source_installation.html
## https://doc.owncloud.org/server/9.0/admin_manual/configuration_files/collaborative_documents_configuration.html
- 'libreoffice'


# .. envvar:: owncloud_packages
#
Expand Down Expand Up @@ -583,6 +593,19 @@ owncloud_run_occ_host_commands: []
owncloud_occ_bin_file_path: '/usr/local/bin/occ'


# .. ownCloud applications [[[1
#
# -------------------------
# ownCloud applications
# -------------------------

# .. envvar:: owncloud_app_documents_enabled
#
# Where the `Documents app <https://apps.owncloud.com/content/show.php/Documents?content=168711>`_ should be enabled.
# FIXME: Automate app enabling with occ.
owncloud_app_documents_enabled: True


# .. LDAP authentication [[[1
#
# -----------------------
Expand Down
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
install_recommends: False
with_flattened:
- '{{ owncloud_base_packages }}'
- '{{ owncloud_packages_recommended }}'
- '{{ owncloud_packages_optional }}'
- '{{ owncloud_packages }}'
- '{{ owncloud_packages_group }}'
Expand Down

0 comments on commit 839e06d

Please sign in to comment.