File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 51
51
check_mode : true
52
52
changed_when : __postgresql_include_dir_result is not changed # yeah...
53
53
register : __postgresql_include_dir_result
54
- when : " postgresql_version is version_compare ('9.3', '>=')"
54
+ when : postgresql_version is version ('9.3', '>=')
55
55
56
56
- name : Set conf.d include in postgresql.conf
57
57
lineinfile :
58
58
line : " include_dir 'conf.d'"
59
59
path : " {{ postgresql_conf_dir }}/postgresql.conf"
60
60
backup : true
61
61
notify : Reload PostgreSQL
62
- when : " postgresql_version is version_compare ('9.3', '>=') and __postgresql_include_dir_result is changed"
62
+ when : postgresql_version is version ('9.3', '>=') and __postgresql_include_dir_result is changed
63
63
64
64
- name : Include 25ansible_postgresql.conf in postgresql.conf
65
65
lineinfile :
66
66
line : " include 'conf.d/25ansible_postgresql.conf'"
67
67
dest : " {{ postgresql_conf_dir }}/postgresql.conf"
68
68
backup : true
69
69
notify : Reload PostgreSQL
70
- when : " postgresql_version is version_compare ('9.3', '<') "
70
+ when : postgresql_version is version ('9.3', '>=')
71
71
72
72
- name : Set config options
73
73
template :
You can’t perform that action at this time.
0 commit comments