diff --git a/tests/setup_postgres.yml b/tests/setup_postgres.yml index 7074def..5934618 100644 --- a/tests/setup_postgres.yml +++ b/tests/setup_postgres.yml @@ -7,17 +7,17 @@ state: present become: true +- name: Init postgreql DB + shell: /usr/bin/postgresql-setup --initdb + ignore_errors: true + become: true + - name: Start postgres service: name: postgresql state: started become: true -- name: Init postgreql DB - shell: /usr/bin/postgresql-setup --initdb - ignore_errors: true - become: true - - name: Wait for the service to be up pause: seconds: 15