This role installs nginx and installs vhost config files generated from playbook-supplied templates.
None.
nginx_vhosts
: A list of mappings. Each item must have at least the keysdomainname
andvhost_template
. You can add more keys to pass variables to your vhost template.
None.
- hosts: webservers
roles:
- nginx
vars:
- nginx_vhosts:
- domainname: my.example.org
vhost_template: nginx.conf.j2
BSD
René Fleschenberg rene@fleschenberg.net