Sfoglia il codice sorgente

Fixed curl to follow redirections.

pull/150/head
Martin Horak 6 anni fa
parent
commit
9673a18fba
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +3
    -3
      linux/system/repo.sls

+ 3
- 3
linux/system/repo.sls Vedi File

@@ -93,7 +93,7 @@ linux_repo_{{ name }}_key:

linux_repo_{{ name }}_key:
cmd.wait:
- name: "curl -s {{ repo.key_url }} | apt-key add -"
- name: "curl -sL {{ repo.key_url }} | apt-key add -"
- watch:
- file: default_repo_list

@@ -150,8 +150,8 @@ linux_repo_{{ name }}_key:

linux_repo_{{ name }}_key:
cmd.run:
- name: "curl -s {{ repo.key_url }} | apt-key add -"
- unless: "apt-key finger --with-colons | grep -qF $(curl -s {{ repo.key_url }} | gpg --with-fingerprint --with-colons | grep -E '^fpr')"
- name: "curl -sL {{ repo.key_url }} | apt-key add -"
- unless: "apt-key finger --with-colons | grep -qF $(curl -sL {{ repo.key_url }} | gpg --with-fingerprint --with-colons | grep -E '^fpr')"
- require_in:
- pkgrepo: linux_repo_{{ name }}


Loading…
Annulla
Salva