Add the motd role to the bootstrap roles as dependency.

This commit is contained in:
Andrea Dell'Amico 2019-02-14 15:20:56 +01:00
parent bad5761366
commit febb0e55b8
2 changed files with 6 additions and 1 deletions

View File

@ -132,10 +132,14 @@ additional_ca_dest_dir: /usr/local/share/ca-certificates
# - { file: "local-ca.crt", dest_file: '{{ additional_ca_dest_dir }}/infn-ca.crt' } # - { file: "local-ca.crt", dest_file: '{{ additional_ca_dest_dir }}/infn-ca.crt' }
# #
default_security_limits: root_security_limits:
- { domain: 'root', l_item: 'nofile', type: 'soft', value: '8192' } - { domain: 'root', l_item: 'nofile', type: 'soft', value: '8192' }
- { domain: 'root', l_item: 'nofile', type: 'hard', value: '8192' } - { domain: 'root', l_item: 'nofile', type: 'hard', value: '8192' }
users_security_limits: []
default_security_limits: '{{ root_security_limits }}'
# default_rsyslog_custom_rules: # default_rsyslog_custom_rules:
# - ':msg, contains, "icmp6_send: no reply to icmp error" ~' # - ':msg, contains, "icmp6_send: no reply to icmp error" ~'
# - ':msg, contains, "[PYTHON] Can\'t call the metric handler function for" ~' # - ':msg, contains, "[PYTHON] Can\'t call the metric handler function for" ~'

View File

@ -5,6 +5,7 @@ dependencies:
- role: '../../library/roles/deb-set-hostname' - role: '../../library/roles/deb-set-hostname'
- role: '../../library/roles/deb-set-locale' - role: '../../library/roles/deb-set-locale'
- role: '../../library/roles/timezone' - role: '../../library/roles/timezone'
- role: '../../library/roles/motd'
- role: '../../library/roles/linux-kernel-sysctl' - role: '../../library/roles/linux-kernel-sysctl'
- role: '../../library/roles/sshd_config' - role: '../../library/roles/sshd_config'
- role: '../../library/roles/fail2ban' - role: '../../library/roles/fail2ban'