@@ -1221,16 +1221,20 @@ Nginx.
- mail_forwarder
- web_server
2. You know the drill, role configuration comes up next. Actually... The web
server role parameters are all optional, and they default to some ok-ish
values. But let us spicen up things a bit nevertheless. No configuration has
been deployed before for the web server, so we will be creating a new file.
2. You know the drill, role configuration comes up next. No
configuration has been deployed before for the web server, so we
will be creating a new file. Only the TLS parameters are really
necessary, but we'll spice things up a bit by setting custom title
and message for default virtual host.
:file:`~/mysite/group_vars/web.yml`
::
---
default_https_tls_certificate: "{{ lookup('file', 'tls/www.example.com_https.pem') }}"
default_https_tls_key: "{{ lookup('file', 'tls/www.example.com_https.key') }}"
web_default_title: "Welcome to default page!"
web_default_message: "Nothing to see here, move along..."