Compare commits

...

5 Commits

Author SHA1 Message Date
marguskoiduste f9a61a99da
Merge e51455b491 into 133b17f708 2024-11-10 22:08:49 -06:00
AnsibleGuy 133b17f708
update phone-nr 2024-11-10 11:47:54 +01:00
AnsibleGuy d9080a95ba
add advertisement/contact information 2024-10-25 10:39:48 +02:00
AnsibleGuy 1c12d299b3
update pylint config 2024-10-06 13:40:27 +02:00
marguskoiduste e51455b491
Attempt fixing https config template 2024-02-11 00:57:31 +02:00
3 changed files with 25 additions and 4 deletions

View File

@ -276,6 +276,9 @@ ignored-parents=
# Maximum number of arguments for function / method. # Maximum number of arguments for function / method.
max-args=5 max-args=5
# Maximum number of positional arguments for function / method.
max-positional-arguments=5
# Maximum number of attributes for a class (see R0902). # Maximum number of attributes for a class (see R0902).
max-attributes=7 max-attributes=7

View File

@ -17,6 +17,8 @@ Molecule Logs: [Short](https://badges.ansibleguy.net/log/molecule_infra_apache_t
**Tested:** **Tested:**
* Debian 11 * Debian 11
----
## Install ## Install
```bash ```bash
@ -35,9 +37,25 @@ ansible-galaxy install -r requirements.yml
---- ----
## Usage ## Advertisement
You want a simple Ansible GUI? Check-out my [Ansible WebUI](https://github.com/ansibleguy/webui) * Need **professional support** using Ansible or managing Web-Applications? Contact us:
E-Mail: [contact@oxl.at](mailto:contact@oxl.at)
Tel: [+43 3115 40 900 0](tel:+433115409000)
Web: [EN](https://www.o-x-l.com) | [DE](https://www.oxl.at)
Language: German or English
* You want a simple **Ansible GUI**?
Check-out this [Ansible WebUI](https://github.com/ansibleguy/webui)
----
## Usage
### Config ### Config

View File

@ -21,7 +21,7 @@
{% if site.security.restrict_methods | bool %} {% if site.security.restrict_methods | bool %}
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine On RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^(?!{{ for method in APACHE_CONFIG.security.restricted_methods | join('|') }}) RewriteCond %{REQUEST_METHOD} ^(?!{{ APACHE_CONFIG.security.restricted_methods | join('|') }})
RewriteRule .* - [L,R=405] RewriteRule .* - [L,R=405]
</IfModule> </IfModule>
<Directory /> <Directory />
@ -32,7 +32,7 @@
{% elif site.security.deny_dangerous_methods | bool %} {% elif site.security.deny_dangerous_methods | bool %}
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine On RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^({{ for method in APACHE_CONFIG.security.dangerous_methods | join('|') }}) RewriteCond %{REQUEST_METHOD} ^({{ APACHE_CONFIG.security.dangerous_methods | join('|') }})
RewriteRule .* - [L,R=405] RewriteRule .* - [L,R=405]
</IfModule> </IfModule>
<Directory /> <Directory />