yaml syntax fixes
This commit is contained in:
parent
5504cb7d4a
commit
a5d4f246a4
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# These are supported funding model platforms
|
# These are supported funding model platforms
|
||||||
|
|
||||||
patreon: ansibleguy
|
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:
|
default_modules:
|
||||||
# <IfModule ${MOD}>
|
# <IfModule ${MOD}>
|
||||||
# </IfModule>
|
# </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'
|
ifname: 'prefork.c'
|
||||||
settings:
|
settings:
|
||||||
StartServers: 5
|
StartServers: 5
|
||||||
|
|
@ -187,16 +187,16 @@ default_modules:
|
||||||
# DOSSystemCommand:
|
# DOSSystemCommand:
|
||||||
# DOSEmailNotify: mail@yourdomain.com
|
# DOSEmailNotify: mail@yourdomain.com
|
||||||
DOSWhitelist: [
|
DOSWhitelist: [
|
||||||
'127.0.0.*', '192.168.*.*', '10.*.*.*', '172.16.*.*', '172.17.*.*', '172.18.*.*', '172.19.*.*',
|
'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.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.*.*',
|
'172.27.*.*', '172.28.*.*', '172.29.*.*', '172.30.*.*', '172.31.*.*', '172.32.*.*',
|
||||||
]
|
]
|
||||||
|
|
||||||
APACHE_MODULES: "{{ default_modules | combine(modules, recursive=true) }}"
|
APACHE_MODULES: "{{ default_modules | combine(modules, recursive=true) }}"
|
||||||
|
|
||||||
apache_config_graylist: [
|
apache_config_graylist: [
|
||||||
'SSLEngine', 'SSLCertificateKeyFile', 'SSLCertificateFile', 'SSLCertificateChainFile', 'ErrorLog', 'CustomLog', 'ServerAdmin',
|
'SSLEngine', 'SSLCertificateKeyFile', 'SSLCertificateFile', 'SSLCertificateChainFile', 'ErrorLog', 'CustomLog', 'ServerAdmin',
|
||||||
'ServerAlias', 'ServerName', 'Redirect'
|
'ServerAlias', 'ServerName', 'Redirect'
|
||||||
]
|
]
|
||||||
force_removal: false
|
force_removal: false
|
||||||
NONE_VALUES: [none, '', ' ']
|
NONE_VALUES: [none, '', ' ']
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# external roles and collections to download
|
# external roles and collections to download
|
||||||
# install: ansible-galaxy install -r requirements.yml
|
# install: ansible-galaxy install -r requirements.yml
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,8 +39,8 @@
|
||||||
community.general.apache2_module:
|
community.general.apache2_module:
|
||||||
state: absent
|
state: absent
|
||||||
name: "{{ APACHE_CONFIG.modules.absent }}"
|
name: "{{ APACHE_CONFIG.modules.absent }}"
|
||||||
force: True
|
force: true
|
||||||
ignore_configcheck: True
|
ignore_configcheck: true
|
||||||
register: apache_mods_disable_raw
|
register: apache_mods_disable_raw
|
||||||
tags: [base]
|
tags: [base]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue