diff options
Diffstat (limited to 'playbooks/postgres.yml')
-rw-r--r-- | playbooks/postgres.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/playbooks/postgres.yml b/playbooks/postgres.yml new file mode 100644 index 0000000..72192ec --- /dev/null +++ b/playbooks/postgres.yml @@ -0,0 +1,15 @@ +- import_playbook: common.yml + vars: + hostlist: postgresql_servers + +- name: configure postgresql + hosts: postgresql_servers + tags: postgres,postgresql + roles: + - role: postgresql_server + + - role: archive_job + archive_name: postgres + archive_user: '{{ postgresql_user }}' + archive_shell: '{{ postgresql_archive_shell }}' + tags: archive |