Skip to content

Commit

Permalink
Fix task Get URL of host providing the webserver (#988)
Browse files Browse the repository at this point in the history
Fix the issue "'in <string>' requires string as left operand, not int"
at the task "Get URL of host providing the webserver"
  • Loading branch information
fdaencarrh authored Oct 5, 2023
1 parent 861807d commit d0c45de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
# use a ternary for the delegate_to
- name: Get URL of host providing the webserver
set_fact:
host_url: "{{ the_url.status in [200,301] | ternary(groups['provisioner'][0], groups['registry_host'][0]) }}"
host_url: "{{ (the_url.status in [200,301]) | ternary(groups['provisioner'][0], groups['registry_host'][0]) }}"
tags: cache

- name: Set bootstrap image URL override if not provided by the user
Expand Down

0 comments on commit d0c45de

Please sign in to comment.