Commit 504ddcf6 by Fred Smith

run this task earlier in start-up

parent 1bfc5004
...@@ -40,3 +40,5 @@ server_utils_debian_pkgs: ...@@ -40,3 +40,5 @@ server_utils_debian_pkgs:
- netcat - netcat
server_utils_redhat_pkgs: [] server_utils_redhat_pkgs: []
SERVER_UTILS_EDX_PPA_KEY_ID: "69464050"
...@@ -21,6 +21,14 @@ ...@@ -21,6 +21,14 @@
# #
# #
- name: Check for expired edx key
command: "apt-key list | grep {{ SERVER_UTILS_EDX_PPA_KEY_ID }}"
register: ppa_key_status
- name: remove expired edx key
command: "sudo apt-key remove {{ SERVER_UTILS_EDX_PPA_KEY_ID }}"
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