This role can be used to setup a Nginx Webserver with cerbot already included.
none
---
domain: domain.com # The domain of your DNS.
subdomain: subdomain # The subdomain of your DNS A record.
root: /var/www/html # defines the path to the webserver root dir
proxy_pass_port: "80" # defines a port for a proxy_pass if needed
GeerlingGuy's Cerbot Role - already included on the nginx webserver role dependencies
---
- hosts: host
roles:
- name: nginx_webserver
vars:
domain: domain.com
subdomain: subdomain
admin_email: 'mail@domain.com'
root: /var/www/html
MIT