Compare commits
5 Commits
b9fac380e1
...
f9a61a99da
| Author | SHA1 | Date |
|---|---|---|
|
|
f9a61a99da | |
|
|
133b17f708 | |
|
|
d9080a95ba | |
|
|
1c12d299b3 | |
|
|
e51455b491 |
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
22
README.md
22
README.md
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue