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:
parent
7f717b33cd
commit
886f9e766b
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue