diff --git a/tasks/postgresql-config-el.yml b/tasks/postgresql-config-el.yml index f4d5ed3..081cb8f 100644 --- a/tasks/postgresql-config-el.yml +++ b/tasks/postgresql-config-el.yml @@ -121,6 +121,8 @@ notify: Restart postgresql - name: postgresql-config-el | We want postgres listen on the public IP + become: true + become_user: postgres community.postgresql.postgresql_set: name: 'listen_addresses' value: "{% if psql_listen_on_ext_int %}*{% else %}default{% endif %}"