diff --git a/structure.yml b/structure.yml index f161e7d..137220c 100644 --- a/structure.yml +++ b/structure.yml @@ -5,12 +5,11 @@ 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. - + steps: - + - Installation of Nginx: The playbook installs Nginx and ensures it is started and enabled. - Creation of the website directory: A directory is created to host the website files. - Creation of a simple homepage: A simple HTML page is created for the website. @@ -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 - +...