aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorLasse Haugen <haugen.lasse@gmail.com>2019-01-14 15:54:37 +0100
committerLasse Haugen <haugen.lasse@gmail.com>2019-01-14 15:54:37 +0100
commit7caeb2c763270636261dba584ba489d9e66aca4f (patch)
tree10edc38c807c296ef4e6f60d05027b5162d51eed /ansible
parentb25e34d67168ac2bb1d74943940cfa72f464a137 (diff)
Change to new ansible style
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/postgres/tasks/main.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/ansible/roles/postgres/tasks/main.yml b/ansible/roles/postgres/tasks/main.yml
index 3073046..61befa5 100644
--- a/ansible/roles/postgres/tasks/main.yml
+++ b/ansible/roles/postgres/tasks/main.yml
@@ -1,11 +1,7 @@
- name: Install db-packages
apt:
- name: "{{ item }}"
+ name: ['postgresql', 'python-psycopg2', 'sudo']
state: present
- with_items:
- - postgresql
- - python-psycopg2
- - sudo
- name: Drop postgresql-config
copy:
dest: /etc/postgresql/9.6/main/postgresql.conf