From d6637fd506d9267fb75780d1dcac5f5a8ddf8f43 Mon Sep 17 00:00:00 2001 From: sio Date: Thu, 7 Jan 2021 16:29:41 +0100 Subject: [PATCH 1/5] chgt getall pour fusioninventory --- roles/local-store/files/getall-2021 | 3 ++- roles/local-store/files/getall-latest | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/local-store/files/getall-2021 b/roles/local-store/files/getall-2021 index d9a0697..a0d56eb 100644 --- a/roles/local-store/files/getall-2021 +++ b/roles/local-store/files/getall-2021 @@ -3,8 +3,9 @@ GLPIREL=9.5.3 wget -nc https://github.com/glpi-project/glpi/releases/download/${GLPIREL}/glpi-${GLPIREL}.tgz FIREL=9.5+1.0 -wget -nc https://github.com/fusioninventory/fusioninventory-for-glpi/releases/download/glpi${FIREL}/fusioninventory-${FIREL}.tar.gz +#wget -nc https://github.com/fusioninventory/fusioninventory-for-glpi/releases/download/glpi${FIREL}/fusioninventory-${FIREL}.tar.gz #https://github.com/fusioninventory/fusioninventory-for-glpi/releases/download/glpi9.5.0%2B1.0/fusioninventory-9.5.0+1.0.tar.bz2 +wget -nc https://github.com/fusioninventory/fusioninventory-for-glpi/releases/download/glpi9.5.0%2B1.0/fusioninventory-9.5.0+1.0.tar.bz2 FIAGREL=2.5.2 wget -nc https://github.com/fusioninventory/fusioninventory-agent/releases/download/${FIAGREL}/fusioninventory-agent_windows-x64_${FIAGREL}.exe diff --git a/roles/local-store/files/getall-latest b/roles/local-store/files/getall-latest index d9a0697..a0d56eb 100644 --- a/roles/local-store/files/getall-latest +++ b/roles/local-store/files/getall-latest @@ -3,8 +3,9 @@ GLPIREL=9.5.3 wget -nc https://github.com/glpi-project/glpi/releases/download/${GLPIREL}/glpi-${GLPIREL}.tgz FIREL=9.5+1.0 -wget -nc https://github.com/fusioninventory/fusioninventory-for-glpi/releases/download/glpi${FIREL}/fusioninventory-${FIREL}.tar.gz +#wget -nc https://github.com/fusioninventory/fusioninventory-for-glpi/releases/download/glpi${FIREL}/fusioninventory-${FIREL}.tar.gz #https://github.com/fusioninventory/fusioninventory-for-glpi/releases/download/glpi9.5.0%2B1.0/fusioninventory-9.5.0+1.0.tar.bz2 +wget -nc https://github.com/fusioninventory/fusioninventory-for-glpi/releases/download/glpi9.5.0%2B1.0/fusioninventory-9.5.0+1.0.tar.bz2 FIAGREL=2.5.2 wget -nc https://github.com/fusioninventory/fusioninventory-agent/releases/download/${FIAGREL}/fusioninventory-agent_windows-x64_${FIAGREL}.exe From 7ac4290d6c39a442bc8ecf965d9ec9141506ee3e Mon Sep 17 00:00:00 2001 From: sio Date: Thu, 7 Jan 2021 16:45:03 +0100 Subject: [PATCH 2/5] local-store : gestion de goss --- roles/goss/defaults/main.yml | 3 +++ roles/goss/tasks/main.yml | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 roles/goss/defaults/main.yml diff --git a/roles/goss/defaults/main.yml b/roles/goss/defaults/main.yml new file mode 100644 index 0000000..f9e3d71 --- /dev/null +++ b/roles/goss/defaults/main.yml @@ -0,0 +1,3 @@ +depl_url: "http://s-mon.gsb.lan/gsbstore/" +depl_goss: "goss" + diff --git a/roles/goss/tasks/main.yml b/roles/goss/tasks/main.yml index 4af44da..6585e6d 100644 --- a/roles/goss/tasks/main.yml +++ b/roles/goss/tasks/main.yml @@ -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 From c80a5fa165bbeb40eb24bf0db53bfcd16caa83b0 Mon Sep 17 00:00:00 2001 From: sio Date: Thu, 7 Jan 2021 16:48:16 +0100 Subject: [PATCH 3/5] err typo --- roles/goss/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/goss/defaults/main.yml b/roles/goss/defaults/main.yml index f9e3d71..867cfd8 100644 --- a/roles/goss/defaults/main.yml +++ b/roles/goss/defaults/main.yml @@ -1,3 +1,3 @@ -depl_url: "http://s-mon.gsb.lan/gsbstore/" +depl_url: "http://s-mon.gsb.lan/gsbstore" depl_goss: "goss" From 0445c30ae802043d57dc2203c04fbb3fcf9edac4 Mon Sep 17 00:00:00 2001 From: sio Date: Thu, 7 Jan 2021 16:56:08 +0100 Subject: [PATCH 4/5] err typo s-mon --- roles/goss/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/goss/defaults/main.yml b/roles/goss/defaults/main.yml index 867cfd8..c72582f 100644 --- a/roles/goss/defaults/main.yml +++ b/roles/goss/defaults/main.yml @@ -1,3 +1,3 @@ -depl_url: "http://s-mon.gsb.lan/gsbstore" +depl_url: "http://s-adm.gsb.lan/gsbstore" depl_goss: "goss" From d6e497807ef796cc9338382571e490041b4d310a Mon Sep 17 00:00:00 2001 From: sio Date: Thu, 7 Jan 2021 16:58:18 +0100 Subject: [PATCH 5/5] err typo s-mon .adm --- roles/goss/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/goss/defaults/main.yml b/roles/goss/defaults/main.yml index c72582f..b564958 100644 --- a/roles/goss/defaults/main.yml +++ b/roles/goss/defaults/main.yml @@ -1,3 +1,3 @@ -depl_url: "http://s-adm.gsb.lan/gsbstore" +depl_url: "http://s-adm.gsb.adm/gsbstore" depl_goss: "goss"