Skip to content

Commit 7ac1cbb

Browse files
Fix bug where roadrunner can't get installed in FreeBSD (#4)
1 parent 4a7645b commit 7ac1cbb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.DS_Store
22
*.pyc
33
__pycache__
4+
roles
5+
*.swp

tasks/setup-FreeBSD.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
cmd: "{{ roadrunner.prefix.bin }}/rr -v | awk -F ' ' '{print $3}'"
2424

2525
- name: Handle roadrunner install/update
26-
when: not roadrunner_bin_exists or (roadrunner_version is defined and roadrunner_version.stdout != roadrunner.version)
26+
when: not roadrunner_bin_exists.stat.exists or (roadrunner_version.stdout is defined and roadrunner_version.stdout != roadrunner.version)
2727
block:
2828
- name: Download the roadrunner v{{ roadrunner.version }} FreeBSD package
2929
ansible.builtin.get_url:

0 commit comments

Comments
 (0)