2020-05-23 09:22:41 +00:00
|
|
|
---
|
|
|
|
- name: "Set site_data_path to {{ www_path }}/{{ site.slug }}"
|
|
|
|
set_fact: site_data_path="{{ www_path }}/{{ site.slug }}"
|
|
|
|
tags: always
|
|
|
|
|
|
|
|
####################
|
|
|
|
# Render templates #
|
|
|
|
####################
|
|
|
|
|
|
|
|
- name: "Render templates"
|
|
|
|
import_tasks: render.yml
|
2020-06-01 06:21:27 +00:00
|
|
|
tags: render
|
|
|
|
|
|
|
|
############################
|
|
|
|
# PostgreSQL configuration #
|
|
|
|
############################
|
|
|
|
|
|
|
|
- name: "Setup PostgreSQL"
|
|
|
|
import_tasks: postgres.yml
|
|
|
|
tags: postgres
|
|
|
|
|
|
|
|
#################
|
|
|
|
# Setup backups #
|
|
|
|
#################
|
|
|
|
|
|
|
|
- name: "Setup backups"
|
|
|
|
import_tasks: backup.yml
|
|
|
|
tags: backup
|