Web server role
admin_email
- Email for Let's Encryptsites
- List of nginx websites to createname
- site nametype
- Type of site to create (static or proxy)domains
- List of domains for this websitefiles
- location of website filesproxied_server
- Server to proxy to (only when type=proxy)
- hosts: all
vars:
admin_email: [email protected]
sites:
- name: example.com
domains:
- example.com
- www.example.com
files: tests/example.com/html/
type: static
- name: proxied.example.com
domains:
- proxied.example.com
files: tests/example.com/html/
type: proxy
proxied_server: http://127.0.0.1:8009/
include_role:
name: "ansible-web"
Poetry is used to manage this project's Python dependencies
poetry install --no-root
poetry run molecule test
Alternative, you can create a shell by running poetry shell
and run the molecule
commands directly
MIT