8 lines
434 B
YAML
8 lines
434 B
YAML
---
|
|
_motd_sshd_config_file_path: /etc/ssh/sshd_config
|
|
_motd_pam_login_file_path: /etc/pam.d/login
|
|
_motd_pam_sshd_file_path: /etc/pam.d/sshd
|
|
_motd_file_path: /usr/local/bin/dynmotd
|
|
_motd_lookup_method: "{{ 'url' if motd_template is match('http(s)?:\/\/') else 'template' }}"
|
|
_motd_template_content: "{{ lookup(_motd_lookup_method, motd_template, split_lines=False, username=motd_template_username, password=motd_template_password) }}"
|