diff --git a/tasks/configure-access.yml b/tasks/configure-access.yml index f2871b2..c7403ef 100644 --- a/tasks/configure-access.yml +++ b/tasks/configure-access.yml @@ -4,6 +4,7 @@ when: - psql_listen_on_ext_int | bool - firewalld_enabled | bool + - ansible_distribution_file_variety == "RedHat" - name: Give access to the remote postgresql client lineinfile: name={{ psql_conf_dir }}/pg_hba.conf regexp="^host.* {{ item.0.name }} {{ item.0.user }} {{ item.1 }}.*$" line="host {{ item.0.name }} {{ item.0.user }} {{ item.1 }} md5"