Compare commits
1 Commits
bd52efbfca
...
6f70e8c2bf
Author | SHA1 | Date | |
---|---|---|---|
6f70e8c2bf |
@ -50,6 +50,7 @@
|
||||
loop_control:
|
||||
loop_var: result
|
||||
label: "{{ result.option.key }}"
|
||||
when: postgresql_state == 'present'
|
||||
vars:
|
||||
postgresql_login_host: >-2
|
||||
{{
|
||||
|
@ -33,6 +33,7 @@
|
||||
loop:
|
||||
- name: "{{ postgresql_config_path }}"
|
||||
- name: "{{ postgresql_data_path }}"
|
||||
mode: "0700"
|
||||
loop_control:
|
||||
loop_var: path
|
||||
label: "{{ path.name }}"
|
||||
|
@ -22,6 +22,7 @@
|
||||
insert_after: "# Ansible managed"
|
||||
line: "{{ postgresql_admin_pg_ident_conf }}"
|
||||
when: postgresql_state == 'present'
|
||||
notify: postgresql_restart
|
||||
|
||||
- name: Configure permissions for postgresql admin role
|
||||
community.postgresql.postgresql_pg_hba:
|
||||
@ -31,3 +32,4 @@
|
||||
method: "{{ postgresql_admin_role_method }}"
|
||||
options: "{{ postgresql_admin_pg_hba_conf_options }}"
|
||||
when: postgresql_state == 'present'
|
||||
notify: postgresql_restart
|
||||
|
Loading…
x
Reference in New Issue
Block a user