aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks
diff options
context:
space:
mode:
authorPaul B <paul@bonaud.fr>2020-05-06 17:04:20 +0200
committerPaul B <paul@bonaud.fr>2020-05-11 15:11:43 +0200
commit0415357ede1fc2f2e1ebd543a96551fcd8a046fe (patch)
treea35f68cfaf4e24740b6b1cf078689b4919a07f4f /tasks
parent8d1689150f638c6330e321eba7baf3f97678216a (diff)
downloadansible-postgresql-role-0415357ede1fc2f2e1ebd543a96551fcd8a046fe.tar.gz
ansible-postgresql-role-0415357ede1fc2f2e1ebd543a96551fcd8a046fe.tar.zst
ansible-postgresql-role-0415357ede1fc2f2e1ebd543a96551fcd8a046fe.zip
tests: running tests on all supported PG versions
Diffstat (limited to 'tasks')
-rw-r--r--tasks/postgres-user.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tasks/postgres-user.yml b/tasks/postgres-user.yml
index fcef9fc..000ea80 100644
--- a/tasks/postgres-user.yml
+++ b/tasks/postgres-user.yml
@@ -8,6 +8,12 @@
8 check_mode: no 8 check_mode: no
9 changed_when: false 9 changed_when: false
10 10
11- name: "Install required packages for 'postgres_user' ansible module"
12 apt:
13 name:
14 - libpq-dev
15 - python-psycopg2
16
11- name: Create PostgreSQL user 17- name: Create PostgreSQL user
12 become: true 18 become: true
13 become_user: postgres 19 become_user: postgres