This commit is contained in:
Christian Fraß 2023-12-18 08:40:46 +01:00
parent acfa9c0745
commit 89d806c27a
4 changed files with 7 additions and 8 deletions

View file

@ -27,7 +27,7 @@ server {
#Remember to comment the below out when you're installing, and uncomment it when done.
location ~ /(conf/|bin/|inc/|vendor/|install.php) {
# deny all;
deny all;
}
#Support for X-Accel-Redirect

View file

@ -6,8 +6,7 @@
"pkg": [
"unzip",
"php8.2-fpm",
"php8.2-xml",
"php8.2-json"
"php8.2-xml"
]
}
},
@ -147,8 +146,8 @@
{
"name": "admin user | password hash",
"when": "var_dokuwiki_admin_user_define",
"set_fact": {
"temp_password_hash": "{{var_dokuwiki_admin_user_password | ansible.builtin.password_hash(hashtype=blowfish,rounds=10)}}"
"ansible.builtin.set_fact": {
"temp_password_hash": "{{var_dokuwiki_admin_user_password | ansible.builtin.password_hash(hashtype='blowfish',rounds=10)}}"
}
},
{

View file

@ -5,5 +5,5 @@
# Userfile
{% if var_dokuwiki_admin_user_define %}
{{var_dokuwiki_admin_user_name}}:{{temp_password_hash}}:var_dokuwiki_admin_user_email_address:admin,user
{{var_dokuwiki_admin_user_name}}:{{temp_password_hash}}:{{var_dokuwiki_admin_user_email_address}}:admin,user
{% endif %}