We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a772fc commit 0442ec2Copy full SHA for 0442ec2
tasks/configure.yml
@@ -19,7 +19,7 @@
19
owner: "{{postgresql_admin_user}}"
20
group: "{{postgresql_admin_user}}"
21
mode: 0640
22
- register: postgresql_configuration_changed
+ register: postgresql_configuration_pt1
23
24
- name: PostgreSQL | Update configuration - pt. 2 (postgresql.conf)
25
template:
@@ -28,10 +28,10 @@
28
29
30
31
+ register: postgresql_configuration_pt2
32
33
- name: PostgreSQL | Restart PostgreSQL
34
service:
35
name: postgresql
36
state: restarted
37
- when: postgresql_configuration_changed
+ when: postgresql_configuration_pt1.changed or postgresql_configuration_pt2.changed
0 commit comments