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: # apt_key:
# url: "https://deb.nodesource.com/gpgkey/nodesource.gpg.key" # url: "https://deb.nodesource.com/gpgkey/nodesource.gpg.key"
# state: present # state: present
- name: Install the nodejs LTS repos # - name: Install the nodejs LTS repos
apt_repository: # apt_repository:
repo: "deb https://deb.nodesource.com/node_{{ NODEJS_VERSION }}.x {{ ansible_distribution_release }} main" # repo: "deb https://deb.nodesource.com/node_{{ NODEJS_VERSION }}.x {{ ansible_distribution_release }} main"
state: present # state: present
update_cache: yes # update_cache: yes
- name: Install the nodejs - name: Install the nodejs
apt: apt:
name: nodejs name: nodejs

Loading…
Cancel
Save