Installs Docker and configures a reverse proxy
firewalld_zones:
- name: public # optional
nics: # optional, will take all the network interfaces of the machine by default
- eth0 # optional
virtual_hosts:
- name: idm.osgiliath.net # Virual host
upstream: "idm.internal.osgiliath.net" # upstream server to proxy
referer_suffix: "/ipa/ui" # referer header suffix
proto: https # upstream proto
container: False # proxy container or real VM/bare metal
gen_certs: True # use letsencrypt to generate frontend certificate
volumes:
- "/etc/ipa:/etc/ipa:ro" # additional volumes to mount in proxy
additional_nginx_headers:
- "proxy_ssl_trusted_certificate /etc/ipa/ca.crt" # Additional nginx headers
ports_binding:
- "80:80" # mandatory for letsencrypt
- "443:443"
- name: idm.osgiliath.test
ports_binding:
- "80:80" # mandatory for letsencrypt
- "443:443"
gen_certs: yes # lets encrypt will take care of certificates
Like any other platform role, executing tox -e pipdep
and tox -e dependency
Take a look at the molecule tests tests and the default variables
- Twitter @tcharl
- Github @tcharl
- LinkedIn Charlie Mordant