12 lines
399 B
YAML
12 lines
399 B
YAML
|
---
|
||
|
- block:
|
||
|
- name: Install the packages that ansible needs to manage the postgresql users and databases
|
||
|
apt: pkg={{ psql_ansible_needed_pkgs }} state={{ psql_pkg_state }} cache_valid_time=3600
|
||
|
|
||
|
- name: install the postgresql packages
|
||
|
apt: pkg={{ postgresql_pkgs }} state={{ psql_pkg_state }} cache_valid_time=3600
|
||
|
notify: Restart postgresql
|
||
|
|
||
|
tags: [ 'postgresql', 'postgres' ]
|
||
|
|