diff --git a/docs/usage.rst b/docs/usage.rst index 0de5e5e7795f57e633faa711978272c7f25f559d..e7093068920a970ff4b3c4e5e8b93c54c4e27b2a 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -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..."