EL config: a 'become_user' is missing.
This commit is contained in:
parent
2f1d9b5971
commit
3aeea4004a
|
@ -121,6 +121,8 @@
|
||||||
notify: Restart postgresql
|
notify: Restart postgresql
|
||||||
|
|
||||||
- name: postgresql-config-el | We want postgres listen on the public IP
|
- name: postgresql-config-el | We want postgres listen on the public IP
|
||||||
|
become: true
|
||||||
|
become_user: postgres
|
||||||
community.postgresql.postgresql_set:
|
community.postgresql.postgresql_set:
|
||||||
name: 'listen_addresses'
|
name: 'listen_addresses'
|
||||||
value: "{% if psql_listen_on_ext_int %}*{% else %}default{% endif %}"
|
value: "{% if psql_listen_on_ext_int %}*{% else %}default{% endif %}"
|
||||||
|
|
Loading…
Reference in New Issue