2
0

fix: make it possible to not have key_url set

Fixes #520
This commit is contained in:
hk 2021-11-04 15:26:42 +01:00
parent 99b14699f3
commit 97e1d1f07a

View File

@ -21,7 +21,9 @@ salt-pkgrepo-install-saltstack-debian:
- humanname: SaltStack Debian Repo - humanname: SaltStack Debian Repo
- name: {{ salt_settings.pkgrepo }} - name: {{ salt_settings.pkgrepo }}
- file: /etc/apt/sources.list.d/salt.list - file: /etc/apt/sources.list.d/salt.list
{% if salt_settings.get('key_url') is not none %}
- key_url: {{ salt_settings.key_url }} - key_url: {{ salt_settings.key_url }}
{% endif %}
- clean_file: True - clean_file: True
# Order: 3 because we can't put a require_in on "pkg: salt-{master,minion}" # Order: 3 because we can't put a require_in on "pkg: salt-{master,minion}"
# because we don't know if they are used. # because we don't know if they are used.