17 lines
666 B
YAML
17 lines
666 B
YAML
|
---
|
||
|
dependencies:
|
||
|
- role: distribution_check
|
||
|
vars:
|
||
|
distribution_check__supported_distributions:
|
||
|
- name: Debian
|
||
|
versions:
|
||
|
- "11"
|
||
|
- role: add_apt_repository
|
||
|
vars:
|
||
|
add_apt_repository__https_repo: true
|
||
|
add_apt_repository__keyring_url: https://deb.nodesource.com/gpgkey/nodesource.gpg.key
|
||
|
add_apt_repository__keyring_path: /usr/share/keyrings/nodesource.gpg
|
||
|
add_apt_repository__repo: "deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_\
|
||
|
{{ nodejs__major_version }}.x {{ ansible_facts.lsb.codename }} main"
|
||
|
add_apt_repository__filename: nodesource.list
|