File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1414 apt_repository :
1515 repo : " deb {{ redirectionio_packages_url }}deb {{ ansible_distribution_release }} main"
1616 state : present
17- when : redirectionio_apache_module_channel == ""
17+ when : redirectionio_apache_module_channel|length == 0
1818
1919- name : Install redirection.io repository
2020 apt_repository :
2121 repo : " deb {{ redirectionio_packages_url }}deb/{{ redirectionio_apache_module_channel }}/{{ redirectionio_apache_module_main_version }} {{ ansible_distribution_release }} main"
2222 state : present
23- when : redirectionio_apache_module_channel != ""
23+ when : redirectionio_apache_module_channel|length > 0
2424
2525- name : Update apt cache
2626 apt :
Original file line number Diff line number Diff line change 2323 enabled : yes
2424 gpgcheck : yes
2525 state : present
26- when : redirectionio_apache_module_channel == ""
26+ when : redirectionio_apache_module_channel|length == 0
2727
2828- name : Install redirection.io repository
2929 yum_repository :
3333 enabled : yes
3434 gpgcheck : yes
3535 state : present
36- when : redirectionio_apache_module_channel != ""
36+ when : redirectionio_apache_module_channel|length > 0
3737
3838- name : Update yum cache
3939 yum :
You can’t perform that action at this time.
0 commit comments