diff --git a/tasks/postgres.yml b/tasks/postgres.yml index cbfe4c0..d5d55b7 100644 --- a/tasks/postgres.yml +++ b/tasks/postgres.yml @@ -18,6 +18,10 @@ pip: name=psycopg2 +- name: Ensure the PostgreSQL service is running + service: name=postgresql state=started enabled=yes + + - name: create postgres user for deployer postgresql_user: name: "{{ deployer }}"