Task order fixes.

This commit is contained in:
Jeff Geerling 2016-09-29 12:04:34 -05:00
parent 44e1ae1930
commit 1429b9fa22
2 changed files with 6 additions and 1 deletions

View File

@ -19,6 +19,10 @@ Available variables are listed below, along with default values (see `defaults/m
postgresql_enablerepo: ""
TODO.
postgresql_data_dir: /var/lib/pgsql/data
TODO.
postgresql_user: postgres

View File

@ -9,6 +9,8 @@
- include: setup-Debian.yml
when: ansible_os_family == 'Debian'
- include: initialize.yml
- name: Ensure PostgreSQL is started and enabled on boot.
service:
name: "{{ postgresql_daemon }}"
@ -16,6 +18,5 @@
enabled: yes
# Configure PostgreSQL.
- include: initialize.yml
- include: databases.yml
- include: users.yml