Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
piops-roles
install_nextcloud
Commits
5341a6b0
Unverified
Commit
5341a6b0
authored
Dec 01, 2020
by
Klemens Ullmann-Marx
Committed by
GitHub
Dec 01, 2020
Browse files
Edited setup_env.yml to allow custom php_ver
parent
e012813b
Changes
1
Hide whitespace changes
Inline
Side-by-side
tasks/setup_env.yml
View file @
5341a6b0
---
# addition
n
al setup and fixes for OS dependent environment
-
name
:
"
controls
nextcloud_trusted_domain
type"
# additional setup and fixes for OS dependent environment
-
name
:
"
[ENV]
controls
nextcloud_trusted_domain
type"
fail
:
msg
:
"
New
versions
require
nextcloud_trusted_domain
to
be
declared
as
a
list."
when
:
nextcloud_trusted_domain is string
-
name
:
"
[ENV]
remember
custom
php
version"
set_fact
:
php_ver_custom
:
"
{{
php_ver
}}"
when
:
php_ver is defined
-
name
:
"
[ENV]
include
OS
static
vars"
include_vars
:
'
{{
item
}}'
loop
:
-
'
{{
ansible_distribution
}}-{{
ansible_distribution_release
}}.yml'
-
'
{{
ansible_os_family
}}.yml'
-
name
:
"
[ENV]
Overwrite
OS
php_ver
with
custom
php
version
if
defined"
set_fact
:
php_ver
:
"
{{
php_ver_custom
}}"
when
:
php_ver_custom is defined
-
name
:
"
[ENV]
-
ca-certificate
are
up
to
date"
# needed for downloading from download.nextcloud.com as the site use letsencrypt certificates
# letsencrypt may not be trusted on older OS
...
...
@@ -44,4 +54,3 @@
when
:
-
nc_sudo_installed_result.rc is defined
-
nc_sudo_installed_result.rc !=
0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment