validation

This commit is contained in:
gwen 2026-02-10 10:08:33 +01:00
parent 36022c67af
commit 8ef72316e3

View file

@ -5,7 +5,6 @@ version: 1.1
nginx: nginx:
description: pedagogic html static file server description: pedagogic html static file server
help: |- help: |-
This is a complete Ansible playbook to configure Nginx with basic authentication using htpasswd. This is a complete Ansible playbook to configure Nginx with basic authentication using htpasswd.
This playbook installs Nginx, configures a static website, and secures access with basic authentication. This playbook installs Nginx, configures a static website, and secures access with basic authentication.
@ -22,21 +21,21 @@ nginx:
- Restarting Nginx: Nginx is restarted to apply the changes. - Restarting Nginx: Nginx is restarted to apply the changes.
domain_name: domain_name:
type: domainname
description: domain name description: domain name
examples: examples:
- exemple.fr - exemple.fr
type: domainname
htpasswd_file: htpasswd_file:
type: unix_filename
description: htpassword file description: htpassword file
type: unix_filename
default: /etc/nginx/.htpasswd default: /etc/nginx/.htpasswd
email: email:
type: mail
description: domaine name email for certbot description: domaine name email for certbot
examples: examples:
- contact@exemple.fr - contact@exemple.fr
type: mail
users: users:
type: leadership type: leadership
@ -46,4 +45,4 @@ nginx:
password: password:
type: secret type: secret
...