Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeJS Minor Updates #175

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions roles/bootstrap/tasks/install_node.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
---
- name: Set NodeJS major version variable
ansible.builtin.set_fact:
node_major_version: "18"
- name: Add nodejs apt key
ansible.builtin.apt_key:
url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key
state: present
- name: Add nodejs 18.x ppa for apt repo
ansible.builtin.apt_repository:
repo: deb https://deb.nodesource.com/node_18.x bullseye main
repo: "deb https://deb.nodesource.com/node_{{ node_major_version }}.x bullseye main"
update_cache: true
- name: Install nodejs

Check failure on line 13 in roles/bootstrap/tasks/install_node.yaml

View workflow job for this annotation

GitHub Actions / Lint ansible files

package-latest

Package installs should not use latest.
ansible.builtin.apt:
update_cache: true
name: nodejs
state: present
state: latest
Loading