chore: use ansible_facts
All checks were successful
ci/woodpecker/push/linting Pipeline was successful
All checks were successful
ci/woodpecker/push/linting Pipeline was successful
This commit is contained in:
parent
d36ce2dfa8
commit
ad68a72478
3 changed files with 16 additions and 15 deletions
|
|
@ -29,7 +29,7 @@ Compression no
|
|||
AllowTcpForwarding yes
|
||||
AllowAgentForwarding yes
|
||||
PrintMotd yes
|
||||
{% if ansible_distribution == 'Debian' %}
|
||||
{% if ansible_facts['distribution'] == 'Debian' %}
|
||||
UsePAM yes
|
||||
PrintLastLog no
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue