Browse Source

node yml

master
lefos 3 years ago
parent
commit
cc5647060b
  1. 10
      node.yml

10
node.yml

@ -27,11 +27,11 @@
# 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"
state: present
update_cache: yes
# - name: Install the nodejs LTS repos
# apt_repository:
# repo: "deb https://deb.nodesource.com/node_{{ NODEJS_VERSION }}.x {{ ansible_distribution_release }} main"
# state: present
# update_cache: yes
- name: Install the nodejs
apt:
name: nodejs

Loading…
Cancel
Save