Controlling indentation in Jinja2 template with Ansible – Nginx
I have this playbook: (venv) bash-3.2$ cat playbooks/nginx_config_generate.yml --- - name: Generate Nginx Config hosts: all gather_facts: False roles: - ../roles/nginx_config_generate Here is the files that make up the role: (venv) bash-3.2$ cat roles/nginx_config_generate/tasks/main.yml --- - name: Generate Nginx Config…