Unverified Commit 5f2db719 by Troy Sankey Committed by GitHub

Merge pull request #4610 from edx/pwnage101/only-recv-ppa-key-if-necessary

[server_utils] Only receive PPA key if it isn't expired
parents c1fbdcf6 7f4d41bf
......@@ -28,7 +28,7 @@
- name: remove expired edx key
command: "sudo apt-key adv --keyserver {{ SERVER_UTILS_EDX_PPA_KEY_SERVER }} --recv-keys {{ SERVER_UTILS_EDX_PPA_KEY_ID }}"
when: ansible_distribution in common_debian_variants and "'expired' in ppa_key_status.stdout"
when: ansible_distribution in common_debian_variants and 'expired' in ppa_key_status.stdout
- name: Install ubuntu system packages
apt:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment