diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 492ab85..c1cffeb 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,4 @@ +--- # These are supported funding model platforms patreon: ansibleguy diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..9a9dc42 --- /dev/null +++ b/.yamllint @@ -0,0 +1,9 @@ +--- + +extends: default + +rules: + truthy: + allowed-values: ['true', 'false', 'yes', 'no'] + line-length: + max: 150 diff --git a/defaults/main.yml b/defaults/main.yml index 5d66a5e..41f650d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -166,7 +166,7 @@ default_site_config: default_modules: # # - 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, '', ' '] diff --git a/requirements.yml b/requirements.yml index 6ee4e2a..94d1300 100644 --- a/requirements.yml +++ b/requirements.yml @@ -1,3 +1,4 @@ +--- # external roles and collections to download # install: ansible-galaxy install -r requirements.yml diff --git a/tasks/debian/main.yml b/tasks/debian/main.yml index e3a8398..0f4c153 100644 --- a/tasks/debian/main.yml +++ b/tasks/debian/main.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]