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
rbfsmi.imt
rbfsmi-ansible
Commits
9b634458
Commit
9b634458
authored
Mar 17, 2021
by
Jan-Oliver Opdenhövel
Browse files
Fixing the ngiinx vhost directory
parent
06106371
Changes
4
Hide whitespace changes
Inline
Side-by-side
local.yml
View file @
9b634458
...
...
@@ -283,7 +283,6 @@
-
name
:
configure fsmi-matrix
hosts
:
fsmi-matrix
roles
:
-
role
:
element-web
-
role
:
sync-files
sync
:
mount_src
:
"
karo.upb.de:/backup/matrix"
...
...
@@ -291,6 +290,8 @@
working_dir
:
"
/var/lib"
files
:
-
"
synapse"
-
role
:
nginx
-
role
:
element-web
-
role
:
postgresql
postgresql
:
backup_dir
:
"
/backup"
...
...
@@ -311,4 +312,3 @@
address
:
"
::1/128"
method
:
"
scram-sha-256"
-
role
:
synapse
-
role
:
nginx
roles/element-web/tasks/main.yml
View file @
9b634458
...
...
@@ -14,3 +14,8 @@
file_data
:
element.json
:
/etc/webapps/element/config.json
vhost.conf
:
/etc/nginx/vhosts/element.conf
-
name
:
Reload nginx config
service
:
name
:
nginx.service
state
:
reloaded
\ No newline at end of file
roles/nginx/tasks/main.yml
View file @
9b634458
...
...
@@ -5,6 +5,14 @@
name
:
-
nginx-mainline
-
name
:
create vhost directory
file
:
path
:
/etc/nginx/vhosts
owner
:
root
group
:
root
mode
:
'
755'
state
:
directory
-
name
:
copy configurations
template
:
dest
:
"
{{
item.value
}}"
...
...
roles/synapse/tasks/main.yml
View file @
9b634458
...
...
@@ -34,6 +34,11 @@
shell
:
cmd
:
/insert_synapse_secrets.sh
-
name
:
Reload nginx config
service
:
name
:
nginx.service
state
:
reloaded
-
name
:
enable synapse
service
:
name
:
synapse.service
...
...
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