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
|
check_mode: False
|
||||||
|
|
||||||
- name: get consul
|
- name: get consul
|
||||||
pkgng:
|
unarchive:
|
||||||
name: consul-{{ consul_version }}
|
src: "https://releases.hashicorp.com/consul/{{ consul_version }}/consul_{{ consul_version }}_freebsd_amd64.zip"
|
||||||
state: present
|
dest: /usr/local/bin/
|
||||||
|
mode: 0755
|
||||||
|
owner: root
|
||||||
|
group: consul
|
||||||
|
remote_src: True
|
||||||
|
when: installed_consul_version.stdout != consul_version
|
||||||
|
|
||||||
- name: template consul config
|
- name: template consul config
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue