aboutsummaryrefslogtreecommitdiffhomepage
path: root/tasks/postgres-user.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/postgres-user.yml')
-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