-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
I'm running the latest debops and ansible 2.4.2.0
I'm trying to install owncloud package with nextcloud variant on a vanilla VPS debian stretch fully updated
This is my owncloud.yaml
---
# Which variant of the application should be used?
#
# Supported variants:
#
# * ``owncloud`` (legacy variant, not recommended for new deployments)
# * ``nextcloud`` (Main supported variant in the future. Currently supported on Debian stretch, refer to `issue 45 <https://github.com/debops/ansible-owncloud/issues/45>`_ for details)
#
owncloud__variant: 'nextcloud'
owncloud__release: '12.0'
owncloud__autosetup: True
owncloud__autosetup: True
owncloud__fqdn: 'my.domain.com'
owncloud__admin_username: 'damko'
owncloud__password_length: 20
owncloud__upload_size: '1G'
# Name of the system account which will perform signature and archive verification.
owncloud__system_user: 'nextcloud'
# Name of the primary system group of the Nextcloud account.
owncloud__system_group: 'nextcloud'
# Whether the `ownCloud documents application`_ should be enabled.
# Not enabled by default because, as of ownCloud 9.0, the application is not shipped by default.
# Note that this will install LibreOffice plus dependencies on the server.
owncloud__app_documents_enabled: True
# Should LibreOffice be installed on the server so that the documents app can
# work with proprietary document formats such as Microsoft Office?
owncloud__app_documents_libreoffice_enabled: True
# -------------------------------
# ownCloud Mail configuration
# -------------------------------
#
# Refer to the `official ownCloud documentation about config.php <https://doc.owncloud.org/server/9.0/admin_manual/configuration_server/config_sample_php_parameters.html#mail-parameters>`__ and the `official ownCloud documentation about email configuration <https://doc.owncloud.org/server/9.0/admin_manual/configuration_server/email_configuration.html>`__ for details.
owncloud__mail_domain: 'domain.com'
# From address that overrides the built-in ``sharing-noreply`` and
# ``lostpassword-noreply`` from addresses.
owncloud__mail_from_address: 'noreply'
# Which mode to use for sending mail.
# Choices are:
# * ``sendmail``
# * ``smtp``
# * ``qmail``
# * ``php``
owncloud__mail_smtpmode: 'sendmail'
# Specify the IP address of your mail server host.
# This may contain multiple hosts separated by a semi-colon. If you need to
# specify the port number append it to the IP address separated by a colon,
# like this: ``127.0.0.1:24``.
# This depends on :envvar:`owncloud__mail_smtpmode`.
owncloud__mail_smtphost: 'smtp.{{ owncloud__domain }}'
owncloud__mail_smtpport: '25'
owncloud__webserver: 'nginx'
# Max children processes to run in php fpm.
# FIXME: Check if default of debops.php_ might be sufficient.
owncloud__php_max_children: '50'
# List of PHP packages recommended by Nextcloud.
# Refer to the `official Nextcloud documentation <https://docs.nextcloud.com/server/11/admin_manual/installation/source_installation.html>`__ for details.
owncloud__recommended_php_packages:
- 'curl'
- 'bz2'
- 'imagick'
- 'intl'
- 'mcrypt'
# Should SMB/CIFS be support by installing the required system packages and
# enabling the required ownCloud application?
owncloud__smb_support: True
# PHP data caching. The redis server runs on dcnt
owncloud__apcu_enabled: false
owncloud__redis_enabled: true
owncloud__redis_host: '10.10.0.3'
owncloud__redis_password: 'some pass here'
# ownCloud recommends MySQL or MariaDB as database management system.
# Set to ``False`` to use SQLite.
# Refer to the `official ownCloud documentation <https://doc.owncloud.org/server/9.0/admin_manual/configuration_database/linux_database_configuration.html>`__ for details.
owncloud__database: 'mariadb'
# FQDN of the database server. It will be configured by
# the debops.mariadb_ or debops.postgresql_ role.
owncloud__database_server: '10.10.0.3'
owncloud__database_name: '{{ owncloud__variant }}'
owncloud__database_user: '{{ owncloud__variant }}'
owncloud__database_password: 'some pass here'
When I run
debops service/owncloud -l machine
I get:
TASK [debops.nginx : Get first server that listens on http port for default_server roulette] ***
fatal: [dctl]: FAILED! =>
{
"msg":
"The task includes an option with an undefined variable. The error was: 'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'name'
The error appears to have been in '/home/damko/.local/share/debops/debops-playbooks/roles/debops.nginx/tasks/nginx_servers.yml': line 80, column 3, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Get first server that listens on http port for default_server roulette
^ here
exception type: <class 'ansible.errors.AnsibleUndefinedVariable'>
exception: 'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'name'"
}
I'm looking into this and I will report what I find. Meanwhile any help is appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels