Ensure backup_keys isn't empty

This commit is contained in:
Joshua Boniface 2021-06-06 00:41:53 -04:00
parent 16715f0e35
commit 69c037c136
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# backup user authorized_keys # backup user authorized_keys
# {{ ansible_managed }} # {{ ansible_managed }}
{% if backup_keys is defined %} {% if backup_keys is defined and backup_keys %}
{% for key in backup_keys %} {% for key in backup_keys %}
{{ key }} {{ key }}
{% endfor %} {% endfor %}