Fix Molecule test issue.
This commit is contained in:
parent
bf0fe8d531
commit
358b31bcaa
|
@ -31,3 +31,5 @@
|
||||||
- name: Verify postgres is running.
|
- name: Verify postgres is running.
|
||||||
command: "{{ postgresql_bin_path }}/pg_ctl -D {{ postgresql_data_dir }} status"
|
command: "{{ postgresql_bin_path }}/pg_ctl -D {{ postgresql_data_dir }} status"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
become: true
|
||||||
|
become_user: postgres
|
||||||
|
|
Loading…
Reference in New Issue