yaml syntax fixes
This commit is contained in:
parent
5504cb7d4a
commit
a5d4f246a4
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
# These are supported funding model platforms
|
||||
|
||||
patreon: ansibleguy
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
truthy:
|
||||
allowed-values: ['true', 'false', 'yes', 'no']
|
||||
line-length:
|
||||
max: 150
|
||||
|
|
@ -166,7 +166,7 @@ default_site_config:
|
|||
default_modules:
|
||||
# <IfModule ${MOD}>
|
||||
# </IfModule>
|
||||
prefork: # see: https://httpd.apache.org/docs/2.4/mod/mpm_common.html
|
||||
prefork: # see: https://httpd.apache.org/docs/2.4/mod/mpm_common.html
|
||||
ifname: 'prefork.c'
|
||||
settings:
|
||||
StartServers: 5
|
||||
|
|
@ -187,16 +187,16 @@ default_modules:
|
|||
# DOSSystemCommand:
|
||||
# DOSEmailNotify: mail@yourdomain.com
|
||||
DOSWhitelist: [
|
||||
'127.0.0.*', '192.168.*.*', '10.*.*.*', '172.16.*.*', '172.17.*.*', '172.18.*.*', '172.19.*.*',
|
||||
'172.20.*.*', '172.21.*.*', '172.22.*.*', '172.23.*.*', '172.24.*.*', '172.25.*.*', '172.26.*.*',
|
||||
'172.27.*.*', '172.28.*.*', '172.29.*.*', '172.30.*.*', '172.31.*.*', '172.32.*.*',
|
||||
'127.0.0.*', '192.168.*.*', '10.*.*.*', '172.16.*.*', '172.17.*.*', '172.18.*.*', '172.19.*.*',
|
||||
'172.20.*.*', '172.21.*.*', '172.22.*.*', '172.23.*.*', '172.24.*.*', '172.25.*.*', '172.26.*.*',
|
||||
'172.27.*.*', '172.28.*.*', '172.29.*.*', '172.30.*.*', '172.31.*.*', '172.32.*.*',
|
||||
]
|
||||
|
||||
APACHE_MODULES: "{{ default_modules | combine(modules, recursive=true) }}"
|
||||
|
||||
apache_config_graylist: [
|
||||
'SSLEngine', 'SSLCertificateKeyFile', 'SSLCertificateFile', 'SSLCertificateChainFile', 'ErrorLog', 'CustomLog', 'ServerAdmin',
|
||||
'ServerAlias', 'ServerName', 'Redirect'
|
||||
'SSLEngine', 'SSLCertificateKeyFile', 'SSLCertificateFile', 'SSLCertificateChainFile', 'ErrorLog', 'CustomLog', 'ServerAdmin',
|
||||
'ServerAlias', 'ServerName', 'Redirect'
|
||||
]
|
||||
force_removal: false
|
||||
NONE_VALUES: [none, '', ' ']
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
# external roles and collections to download
|
||||
# install: ansible-galaxy install -r requirements.yml
|
||||
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@
|
|||
community.general.apache2_module:
|
||||
state: absent
|
||||
name: "{{ APACHE_CONFIG.modules.absent }}"
|
||||
force: True
|
||||
ignore_configcheck: True
|
||||
force: true
|
||||
ignore_configcheck: true
|
||||
register: apache_mods_disable_raw
|
||||
tags: [base]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue