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
556ae757
Commit
556ae757
authored
Oct 29, 2019
by
Daniel Paufler
Browse files
adjust handler to http-var
parent
a31394e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
tasks/http_apache.yml
View file @
556ae757
...
...
@@ -23,7 +23,7 @@
-
{
regexp
:
'
opcache.save_comments'
,
line
:
'
opcache.save_comments=1'
}
-
{
regexp
:
'
opcache.revalidate_freq'
,
line
:
'
opcache.revalidate_freq=1'
}
# validate: "/usr/sbin/{{ php_bin }} -t #%s"
notify
:
reload
apache2
notify
:
reload
http
-
name
:
"
[APACHE]
-
Required
Apache2
modules
are
enabled"
apache2_module
:
state=present name={{ item }}
...
...
@@ -33,24 +33,24 @@
-
env
-
dir
-
mime
notify
:
restart
apache2
notify
:
restart
http
-
name
:
"
[APACHE]
-
Ssl
Apache2
module
is
enabled"
apache2_module
:
state=present name={{ item }}
with_items
:
-
ssl
when
:
(nextcloud_install_tls | bool)
notify
:
restart
apache2
notify
:
restart
http
-
name
:
"
[APACHE]
-
generate
Nextcloud
configuration
for
apache"
template
:
dest
:
/etc/apache2/sites-available/nc_{{ nextcloud_instance_name }}.conf
src
:
"
{{
nextcloud_websrv_template
}}"
notify
:
reload
apache2
notify
:
reload
http
-
name
:
"
[APACHE]
-
Enable
Nextcloud
site
in
apache
conf"
file
:
path
:
/etc/apache2/sites-enabled/nc_{{ nextcloud_instance_name }}.conf
src
:
/etc/apache2/sites-available/nc_{{ nextcloud_instance_name }}.conf
state
:
link
notify
:
reload
apache2
notify
:
reload
http
tasks/http_nginx.yml
View file @
556ae757
...
...
@@ -64,17 +64,17 @@
path
:
/etc/nginx/sites-enabled/php_handler
src
:
/etc/nginx/sites-available/php_handler.cnf
state
:
link
notify
:
reload
nginx
notify
:
reload
http
-
name
:
"
[NGINX]
-
generate
Nextcloud
configuration
for
nginx"
template
:
dest
:
/etc/nginx/sites-available/nc_{{ nextcloud_instance_name }}.cnf
src
:
"
{{
nextcloud_websrv_template
}}"
notify
:
reload
nginx
notify
:
reload
http
-
name
:
"
[NGINX]
-
Enable
Nextcloud
in
nginx
conf"
file
:
path
:
/etc/nginx/sites-enabled/nc_{{ nextcloud_instance_name }}
src
:
/etc/nginx/sites-available/nc_{{ nextcloud_instance_name }}.cnf
state
:
link
notify
:
reload
nginx
notify
:
reload
http
Write
Preview
Supports
Markdown
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