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 5151 check_mode : true
5252 changed_when : __postgresql_include_dir_result is not changed # yeah...
5353 register : __postgresql_include_dir_result
54- when : " postgresql_version is version_compare ('9.3', '>=')"
54+ when : postgresql_version is version ('9.3', '>=')
5555
5656- name : Set conf.d include in postgresql.conf
5757 lineinfile :
5858 line : " include_dir 'conf.d'"
5959 path : " {{ postgresql_conf_dir }}/postgresql.conf"
6060 backup : true
6161 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
6363
6464- name : Include 25ansible_postgresql.conf in postgresql.conf
6565 lineinfile :
6666 line : " include 'conf.d/25ansible_postgresql.conf'"
6767 dest : " {{ postgresql_conf_dir }}/postgresql.conf"
6868 backup : true
6969 notify : Reload PostgreSQL
70- when : " postgresql_version is version_compare ('9.3', '<') "
70+ when : postgresql_version is version ('9.3', '>=')
7171
7272- name : Set config options
7373 template :
You can’t perform that action at this time.
0 commit comments