File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 31
31
- name : Set conf.d include in postgresql.conf
32
32
lineinfile : line="include_dir 'conf.d'" dest={{ postgresql_conf_dir }}/postgresql.conf backup=yes
33
33
notify : Reload PostgreSQL
34
- when : " {{ postgresql_version | version_compare('9.3', '>=') }} "
34
+ when : " postgresql_version is version_compare('9.3', '>=')"
35
35
36
36
37
37
- name : Include 25ansible_postgresql.conf in postgresql.conf
38
38
lineinfile : line="include 'conf.d/25ansible_postgresql.conf'" dest={{ postgresql_conf_dir }}/postgresql.conf backup=yes
39
39
notify : Reload PostgreSQL
40
- when : " {{ postgresql_version | version_compare('9.3', '<') }} "
40
+ when : " postgresql_version is version_compare('9.3', '<')"
41
41
42
42
- name : Set config options
43
43
template : src=25ansible_postgresql.conf.j2 dest={{ postgresql_conf_dir }}/conf.d/25ansible_postgresql.conf owner=postgres group=postgres backup=yes
You can’t perform that action at this time.
0 commit comments