From f9b7444a39cfd02f0af4961eed834346cbc15abd Mon Sep 17 00:00:00 2001 From: Alexander Dietrich Date: Sat, 2 Sep 2023 18:12:10 +0200 Subject: [PATCH] srv01: Use nodejs role, update nodejs version --- inventory/host_vars/srv01.yml | 4 +++- inventory/hosts | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/inventory/host_vars/srv01.yml b/inventory/host_vars/srv01.yml index f16624c..6f71179 100644 --- a/inventory/host_vars/srv01.yml +++ b/inventory/host_vars/srv01.yml @@ -1,5 +1,5 @@ basics_autoupdate_origins: - - "o=Node Source,n=${distro_codename}" + - site=deb.nodesource.com,n=nodistro basics_ssh_match_blocks: - match: User certsync options: @@ -9,5 +9,7 @@ basics_ssh_match_blocks: nginx_resolver: "192.76.134.90 212.12.50.158" +nodejs_version: node_18.x + updates_tls_crt: /etc/letsencrypt/live/updates.hamburg.freifunk.net/fullchain.pem updates_tls_key: /etc/letsencrypt/live/updates.hamburg.freifunk.net/privkey.pem diff --git a/inventory/hosts b/inventory/hosts index 807242d..cb822a3 100644 --- a/inventory/hosts +++ b/inventory/hosts @@ -19,6 +19,7 @@ srv02 srv03 [nodejs] +srv01 srv02 [updates]