chore: use ansible_facts
All checks were successful
ci/woodpecker/push/linting Pipeline was successful

This commit is contained in:
Simon Cornet 2026-05-20 09:00:16 +02:00
commit ad68a72478
3 changed files with 16 additions and 15 deletions

View file

@ -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 %}