|
@@ -1 +1,26 @@ |
|
|
--- |
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
- name: requirements |
|
|
|
|
|
apt: |
|
|
|
|
|
pkg: |
|
|
|
|
|
- apt-transport-https |
|
|
|
|
|
- ca-certificates |
|
|
|
|
|
|
|
|
|
|
|
- name: nodejs apt repository key |
|
|
|
|
|
apt_key: |
|
|
|
|
|
url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key |
|
|
|
|
|
id: 9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280 |
|
|
|
|
|
|
|
|
|
|
|
- name: nodejs apt repository |
|
|
|
|
|
apt_repository: |
|
|
|
|
|
repo: deb https://deb.nodesource.com/{{nodejs_version}} {{ansible_distribution_release}} main |
|
|
|
|
|
filename: nodesource |
|
|
|
|
|
|
|
|
|
|
|
- name: nodejs apt source repository |
|
|
|
|
|
apt_repository: |
|
|
|
|
|
repo: deb-src https://deb.nodesource.com/{{nodejs_version}} {{ansible_distribution_release}} main |
|
|
|
|
|
filename: nodesource |
|
|
|
|
|
|
|
|
|
|
|
- name: nodejs packages |
|
|
|
|
|
apt: |
|
|
|
|
|
pkg: nodejs |