Browse Source

node yml

master
lefos 3 years ago
parent
commit
418b21c0d2
  1. 8
      node.yml

8
node.yml

@ -21,10 +21,10 @@
# cache_valid_time: 3600
# install_recommends: true
# autoremove: true
- name: Install the gpg key for nodejs LTS
apt_key:
url: "https://deb.nodesource.com/gpgkey/nodesource.gpg.key"
state: present
# - name: Install the gpg key for nodejs LTS
# apt_key:
# url: "https://deb.nodesource.com/gpgkey/nodesource.gpg.key"
# state: present
- name: Install the nodejs LTS repos
apt_repository:
repo: "deb https://deb.nodesource.com/node_{{ NODEJS_VERSION }}.x {{ ansible_distribution_release }} main"

Loading…
Cancel
Save