forked from gadmin/gsb2023
chut
This commit is contained in:
parent
17b049942f
commit
945bae351d
@ -3,19 +3,19 @@
|
|||||||
- name: goss binary exists
|
- name: goss binary exists
|
||||||
stat: path=/usr/local/bin/goss
|
stat: path=/usr/local/bin/goss
|
||||||
register: gossbin
|
register: gossbin
|
||||||
|
|
||||||
- name: install goss sur machine standard
|
- name: install goss sur machine standard
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ depl_url }}/{{ depl_goss }}"
|
url: "{{ depl_url }}/{{ depl_goss }}"
|
||||||
dest: /usr/local/bin/{{ depl_goss }}
|
dest: /usr/local/bin/{{ depl_goss }}
|
||||||
mode: 0755
|
mode: 0755
|
||||||
when: gossbin.stat.exists == False and ansible_hostname != "s-adm"
|
when: gossbin.stat.exists == false and ansible_hostname != "s-adm"
|
||||||
|
|
||||||
- name: install goss sur s-adm
|
- name: install goss sur s-adm
|
||||||
copy:
|
copy:
|
||||||
src: "/var/www/html/gsbstore/{{ depl_goss }}"
|
src: "/var/www/html/gsbstore/{{ depl_goss }}"
|
||||||
dest: /usr/local/bin/{{ depl_goss }}
|
dest: /usr/local/bin/{{ depl_goss }}
|
||||||
mode: 0755
|
mode: 0755
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
when: gossbin.stat.exists == False and ansible_hostname == "s-adm"
|
when: gossbin.stat.exists == false and ansible_hostname == "s-adm"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user