Update pulling freebsd consul version from upstream instead of pkg
This commit is contained in:
parent
06a0252cbb
commit
53d9665fbc
1 changed files with 8 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue