Skip to content

Commit

Permalink
fixup! ansible: update NodeSource repository setup
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlau committed Jul 4, 2024
1 parent b2859ea commit 71ea4c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ansible/roles/jenkins-workspace/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,6 @@
value: 0

# Remove old NodeSource repository setup
- name: Remove old nodesource signing key
apt_key:
url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key
state: absent

- name: Get Ubuntu codename
ansible.builtin.command: "lsb_release -s -c"
changed_when: no
Expand All @@ -131,6 +126,11 @@
repo: deb https://deb.nodesource.com/node_16.x {{ release_codename.stdout }} main
state: absent

- name: Remove old nodesource signing key
apt_key:
url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key
state: absent

# NodeSource distribution
- name: Add nodesource signing key
ansible.builtin.get_url:
Expand Down

0 comments on commit 71ea4c7

Please sign in to comment.