|
|
@ -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" |
|
|
|