Fix a typo.
This commit is contained in:
parent
5f6bf2bfa8
commit
74af14a437
|
@ -2,8 +2,6 @@
|
|||
- name: Configuration of the streaming replication
|
||||
block:
|
||||
- name: Create the replication user
|
||||
become: True
|
||||
become_user: postgres
|
||||
postgresql_user:
|
||||
name: '{{ psql_streaming_replication_user }}'
|
||||
role_attr_flags: "REPLICATION"
|
||||
|
@ -12,14 +10,15 @@
|
|||
state: present
|
||||
|
||||
- name: Setup the streaming replication on the primary
|
||||
become: True
|
||||
become_user: postgres
|
||||
postgresql_set:
|
||||
name: '{{ item.name }}'
|
||||
value: "{{ item.value }}"
|
||||
loop: '{{ psql_streaming_replication_config }}'
|
||||
#when: postgresql_streaming_replication_primary_node == '{{ ansible_fqdn }}'
|
||||
notify: Reload postgresql
|
||||
|
||||
become: True
|
||||
become_user: postgres
|
||||
tags: [ 'postgresql', 'postgres', 'pg_conf', 'postgresql_replication' ]
|
||||
|
||||
- name: Configure the streaming replication user on deb systems
|
||||
|
@ -36,7 +35,7 @@
|
|||
- '{{ psql_streaming_replication_hosts }}'
|
||||
notify: Reload postgresql
|
||||
when: ansible_distribution_file_variety == "Debian"
|
||||
tags: [ 'postgresql', 'postgres', 'pg_conf', 'pg_hba,' 'postgresql_replication' ]
|
||||
tags: [ 'postgresql', 'postgres', 'pg_conf', 'pg_hba', 'postgresql_replication' ]
|
||||
|
||||
- name: Configure the streaming replication user on EL
|
||||
block:
|
||||
|
|
Loading…
Reference in New Issue