renamed role, to make the purpose better visible

This commit is contained in:
Kevin Veen-Birkenbach 2023-12-08 18:24:45 +01:00
parent 4d5aea8609
commit 9451ce398d
6 changed files with 4 additions and 3 deletions

View File

@ -151,7 +151,7 @@ Focuses on web server roles and applications, covering SSL certificates, Nginx c
- **[Nginx-Homepage](./roles/nginx-homepage/)**: Configures a homepage for Nginx. - **[Nginx-Homepage](./roles/nginx-homepage/)**: Configures a homepage for Nginx.
- **[Nginx-Https](./roles/nginx-https/)**: Enables HTTPS configuration for Nginx. - **[Nginx-Https](./roles/nginx-https/)**: Enables HTTPS configuration for Nginx.
- **[Nginx-Matomo-Tracking](./roles/nginx-matomo-tracking/)**: Integrates Matomo tracking with Nginx. - **[Nginx-Matomo-Tracking](./roles/nginx-matomo-tracking/)**: Integrates Matomo tracking with Nginx.
- **[Nginx-Redirect](./roles/nginx-redirect/)**: Manages URL redirects in Nginx. - **[Nginx-Redirect](./roles/nginx-domain-redirect/)**: Manages URL redirects in Nginx.
- **[Certbot Nginx](./roles/certbot-nginx/)**: Integrates Certbot with Nginx for SSL certificates. - **[Certbot Nginx](./roles/certbot-nginx/)**: Integrates Certbot with Nginx for SSL certificates.
- **[Postfix](./roles/postfix/)**: Setup for the Postfix mail transfer agent. - **[Postfix](./roles/postfix/)**: Setup for the Postfix mail transfer agent.

View File

@ -24,7 +24,7 @@
hosts: redirect hosts: redirect
become: true become: true
roles: roles:
- role: nginx-redirect - role: nginx-domain-redirect
vars: vars:
domain_mappings: "{{redirect_domain_mappings}}" domain_mappings: "{{redirect_domain_mappings}}"

View File

@ -23,7 +23,8 @@ This Ansible role configures Nginx to perform 301 redirects from one domain to a
```yaml ```yaml
- hosts: servers - hosts: servers
roles: roles:
- { role: nginx-redirect, domain_mappings: [ {source: 'example.com', target: 'newdomain.com'} ] } - { role: nginx-domain-redirect, domain_mappings: [ {source: 'example.com', target: 'newdomain.com'} ] }
``````
## Author Information ## Author Information
This role was created in 2023 by Kevin Veen Birkenbach. This role was created in 2023 by Kevin Veen Birkenbach.