validation
This commit is contained in:
parent
36022c67af
commit
8ef72316e3
1 changed files with 6 additions and 7 deletions
|
|
@ -5,7 +5,6 @@ version: 1.1
|
|||
nginx:
|
||||
description: pedagogic html static file server
|
||||
help: |-
|
||||
|
||||
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.
|
||||
|
||||
|
|
@ -22,21 +21,21 @@ nginx:
|
|||
- Restarting Nginx: Nginx is restarted to apply the changes.
|
||||
|
||||
domain_name:
|
||||
type: domainname
|
||||
description: domain name
|
||||
examples:
|
||||
- exemple.fr
|
||||
type: domainname
|
||||
|
||||
htpasswd_file:
|
||||
type: unix_filename
|
||||
description: htpassword file
|
||||
type: unix_filename
|
||||
default: /etc/nginx/.htpasswd
|
||||
|
||||
email:
|
||||
type: mail
|
||||
description: domaine name email for certbot
|
||||
examples:
|
||||
- contact@exemple.fr
|
||||
type: mail
|
||||
|
||||
users:
|
||||
type: leadership
|
||||
|
|
@ -46,4 +45,4 @@ nginx:
|
|||
|
||||
password:
|
||||
type: secret
|
||||
|
||||
...
|
||||
|
|
|
|||
Loading…
Reference in a new issue