local-store : gestion de goss
This commit is contained in:
parent
d6637fd506
commit
7ac4290d6c
3
roles/goss/defaults/main.yml
Normal file
3
roles/goss/defaults/main.yml
Normal file
@ -0,0 +1,3 @@
|
||||
depl_url: "http://s-mon.gsb.lan/gsbstore/"
|
||||
depl_goss: "goss"
|
||||
|
@ -5,6 +5,9 @@
|
||||
register: gossbin
|
||||
|
||||
- name: install goss
|
||||
shell: export https_proxy=http://10.121.38.1:8080 && curl -fsSL https://goss.rocks/install | sh
|
||||
get_url:
|
||||
url: "{{ depl_url }}/{{ depl_goss }}"
|
||||
dest: /usr/local/bin/{{ depl_goss }}
|
||||
mode: 0755
|
||||
when: gossbin.stat.exists == False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user