feat: bump nodejs version
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
---
|
||||
|
||||
- name: Remove old key
|
||||
ansible.builtin.file:
|
||||
path: "/usr/share/keyrings/nodesource.gpg"
|
||||
state: absent
|
||||
|
||||
- name: Get node source gpg url
|
||||
ansible.builtin.get_url:
|
||||
url: "{{ nodejs_key_url }}"
|
||||
@@ -14,7 +19,7 @@
|
||||
|
||||
- name: Set node source repo
|
||||
ansible.builtin.copy:
|
||||
content: "deb [signed-by={{ nodejs_key_path }}] https://deb.nodesource.com/node_16.x {{ ansible_facts['distribution_release'] }} main"
|
||||
content: "deb [signed-by={{ nodejs_key_path }}] https://deb.nodesource.com/node_{{ nodejs_version }}.x nodistro main"
|
||||
dest: /etc/apt/sources.list.d/nodesource.list
|
||||
mode: 0644
|
||||
|
||||
|
Reference in New Issue
Block a user