diff --git a/ansible/deploy.yaml b/ansible/deploy.yaml index 2b73ac70b46c499273b9416951a377b1e508b0d7..eacd6fff547f8ac0ce02990f26d378ea944aaff2 100644 --- a/ansible/deploy.yaml +++ b/ansible/deploy.yaml @@ -157,12 +157,10 @@ mode: 0640 - name: add httpd conf to set larger GET requests lineinfile: dest=/etc/ippidb-80/httpd.conf - regexp='' insertbefore=BOF line='LimitRequestLine 32000' - name: add httpd conf to use HTTP authentication lineinfile: dest=/etc/ippidb-80/httpd.conf - regexp='' insertafter=EOF line='LoadModule auth_basic_module '${MOD_WSGI_MODULES_DIRECTORY}/mod_auth_basic.so'\nLoadModule authn_core_module '${MOD_WSGI_MODULES_DIRECTORY}/mod_authn_core.so'\nLoadModule authn_file_module '${MOD_WSGI_MODULES_DIRECTORY}/mod_authn_file.so'\nLoadModule authz_core_module '${MOD_WSGI_MODULES_DIRECTORY}/mod_authz_core.so'\nLoadModule authz_user_module '${MOD_WSGI_MODULES_DIRECTORY}/mod_authz_user.so'\n<Location />\nAuthType Basic\nAuthName "Restricted Files"\nAuthUserFile /etc/ippidb-80/passwdfile\nRequire valid-user\n</Location>\n' - name: copy systemd service file for IPPIDB-web