Commit dcce944f authored by Dmitry Luhtionov's avatar Dmitry Luhtionov

Fix consul freebsd task

parent 44451772
Pipeline #9516 passed with stages
in 50 minutes and 59 seconds
......@@ -65,7 +65,7 @@
register: installed_version
- name: Check installed consul version
shell: '/usr/local/bin/consul version | grep -Po "^Consul v\K(\d.\d.\d)"'
shell: '/usr/local/bin/consul version | sed -n ''s/^Consul v\([[:digit:]].[[:digit:]].[[:digit:]]\).*/\1/p'''
register: current_consul_version
when:
- installed_version.stat.exists
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment