From 91f31700cb020575359465738a6eea50d0376862 Mon Sep 17 00:00:00 2001 From: gwen Date: Wed, 11 Feb 2026 11:22:48 +0100 Subject: [PATCH] structure --- structure.yml | 18 +++++++++++++----- userdata.yml | 4 +++- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/structure.yml b/structure.yml index b9aaffe..dafb98e 100644 --- a/structure.yml +++ b/structure.yml @@ -2,10 +2,18 @@ --- version: 1.1 -vps_domain_name: - description: The domain name of the VPS - examples: - - example.fr +vps: + description: vps target server system variables + + domain_name: + description: The domain name of the VPS + examples: + - example.fr + + ssh_key: + description: vps ssh private key + examples: + - ./sshkeys/myssh_privatekey nginx: description: pedagogic html static file server @@ -36,7 +44,7 @@ nginx: - example.fr type: domainname default: - variable: __.vps_domain_name + variable: __.vps.domain_name email: description: email for the domain name diff --git a/userdata.yml b/userdata.yml index 9eeb1e3..6902a70 100644 --- a/userdata.yml +++ b/userdata.yml @@ -1,6 +1,8 @@ --- -vps_domain_name: tutu.fr +vps: + domain_name: tutu.fr + ssh_key: ./host_vars/forge.gwhirlingai.fr.key nginx: