Update pulling freebsd consul version from upstream instead of pkg

This commit is contained in:
Amarpreet Minhas 2021-07-29 23:47:41 -04:00
parent 06a0252cbb
commit 53d9665fbc

View file

@ -87,9 +87,14 @@
check_mode: False
- name: get consul
pkgng:
name: consul-{{ consul_version }}
state: present
unarchive:
src: "https://releases.hashicorp.com/consul/{{ consul_version }}/consul_{{ consul_version }}_freebsd_amd64.zip"
dest: /usr/local/bin/
mode: 0755
owner: root
group: consul
remote_src: True
when: installed_consul_version.stdout != consul_version
- name: template consul config
template: