Commit 29aacc43 by Fred Smith

add the ppa key back as soon as we remove it

parent 504ddcf6
...@@ -42,3 +42,4 @@ server_utils_debian_pkgs: ...@@ -42,3 +42,4 @@ server_utils_debian_pkgs:
server_utils_redhat_pkgs: [] server_utils_redhat_pkgs: []
SERVER_UTILS_EDX_PPA_KEY_ID: "69464050" SERVER_UTILS_EDX_PPA_KEY_ID: "69464050"
SERVER_UTILS_EDX_PPA_KEY_SERVER: "keyserver.ubuntu.com"
...@@ -29,6 +29,13 @@ ...@@ -29,6 +29,13 @@
command: "sudo apt-key remove {{ SERVER_UTILS_EDX_PPA_KEY_ID }}" command: "sudo apt-key remove {{ SERVER_UTILS_EDX_PPA_KEY_ID }}"
when: "'expired' in ppa_key_status.stdout" when: "'expired' in ppa_key_status.stdout"
- name: Add edX PPA apt key
apt_key:
id: "{{ SERVER_UTILS_EDX_PPA_KEY_ID }}"
keyserver: "{{ SERVER_UTILS_EDX_PPA_KEY_SERVER }}"
state: "present"
when: "'expired' in ppa_key_status.stdout"
- name: Install ubuntu system packages - name: Install ubuntu system packages
apt: apt:
name: "{{ item }}" name: "{{ item }}"
......
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