March 2020
Intermediate to advanced
608 pages
17h 17m
English
First of all, we'll need to create some configuration templates for different services used on the server. Both staging and production deployment procedures will be using them:
{# deployment/ansible_templates/timezone.j2 #}{{ timezone }}
{# deployment/ansible_templates/apache_site-pre.conf.j2 #}<VirtualHost *:80> ServerName {{ domain_name }} ServerAlias {{ domain_name }} www.{{ domain_name }} DocumentRoot {{ project_root }}/public_html DirectoryIndex index.html ...