aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorLasse Haugen <haugen.lasse@gmail.com>2019-01-14 15:57:05 +0100
committerLasse Haugen <haugen.lasse@gmail.com>2019-01-14 15:57:05 +0100
commit4bb5325285119407fc60034c52ce91615698f36f (patch)
tree770b69dd750b4c885df4e4e395907bda08109b66 /ansible
parente5e0db028254f082d77b5b5f4c3514c75eec5a1e (diff)
Removed dupicates
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/postgres/tasks/main.yml3
1 files changed, 0 insertions, 3 deletions
diff --git a/ansible/roles/postgres/tasks/main.yml b/ansible/roles/postgres/tasks/main.yml
index 7aef2a6..96f5a0b 100644
--- a/ansible/roles/postgres/tasks/main.yml
+++ b/ansible/roles/postgres/tasks/main.yml
@@ -24,7 +24,6 @@
state: present
line: "{{ whoami.stdout }} ALL=(postgres) NOPASSWD: ALL"
- name: Make postgres-db
- become_user: postgres
postgresql_db:
name: nms
# https://github.com/ansible/ansible/issues/16048#issuecomment-229012509
@@ -33,7 +32,6 @@
vars:
ansible_ssh_pipelining: true
- name: Ensure a valid postgres-user
- become_user: postgres
postgresql_user:
db: nms
name: nms
@@ -44,7 +42,6 @@
vars:
ansible_ssh_pipelining: true
- name: Import SQL
- become_user: postgres
shell: psql nms < /opt/gondul/ansible/roles/postgres/files/schema.sql
# https://github.com/ansible/ansible/issues/16048#issuecomment-229012509
become: true