2022-12-08 23:45:22 +01:00
|
|
|
---
|
|
|
|
dependencies:
|
|
|
|
- role: distribution_check
|
|
|
|
vars:
|
|
|
|
distribution_check__supported_distributions:
|
|
|
|
- name: Debian
|
2023-07-08 19:58:02 +02:00
|
|
|
major_versions:
|
2022-12-08 23:45:22 +01:00
|
|
|
- "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
|