1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sshd.git synced 2024-08-16 11:59:49 +02:00

add default value for var

This commit is contained in:
L3D 2020-08-05 16:33:38 +02:00 committed by L3D
parent 7f717b33cd
commit 886f9e766b
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
3 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@
- include_tasks: keys.yml - include_tasks: keys.yml
- name: Create sshd configuration (for sshd > 8) - name: Create sshd configuration
become: yes become: yes
template: template:
src: sshd_config.j2 src: sshd_config.j2

View file

@ -4,7 +4,7 @@
# This is the sshd server system-wide configuration file. See # This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information. # sshd_config(5) for more information.
{% if sshd__version_is_above_eight | bool %} {% if sshd__version_is_above_eight | default(false) | bool %}
Include /etc/ssh/sshd_config.d/*.conf Include /etc/ssh/sshd_config.d/*.conf
{% endif %} {% endif %}

View file

@ -1,3 +1,3 @@
--- ---
playbook_version_number: 2079 # should be over ninethousand playbook_version_number: 4096 # should be over ninethousand
playbook_version_path: 'role-sshd_chaos-bodensee_github.com.version' playbook_version_path: 'role-sshd_chaos-bodensee_github.com.version'