diff --git a/roles/local-store/files/getall-2021 b/roles/local-store/files/getall-2021 new file mode 100644 index 0000000..d9a0697 --- /dev/null +++ b/roles/local-store/files/getall-2021 @@ -0,0 +1,24 @@ +#!/bin/bash +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 +#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 + +wget -nc https://github.com/fusioninventory/fusioninventory-agent/releases/download/${FIAGREL}/fusioninventory-agent_windows-x86_${FIAGREL}.exe + +FOGREL=1.5.9 +wget -nc https://github.com/FOGProject/fogproject/archive/${FOGREL}.tar.gz -O fogproject-${FOGREL}.tar.gz +#https://github.com/FOGProject/fogproject/archive/1.5.9.tar.gz + +#wget -nc https://fr.wordpress.org/wordpress-5.3.2-fr_FR.tar.gz +wget -nc https://fr.wordpress.org/wordpress-5.6-fr_FR.tar.gz + +GOSSVER=v0.3.16 +curl -L https://github.com/aelsabbahy/goss/releases/download/${GOSSVER}/goss-linux-amd64 -o goss +chmod +x goss + diff --git a/roles/local-store/files/getall-latest b/roles/local-store/files/getall-latest new file mode 100644 index 0000000..d9a0697 --- /dev/null +++ b/roles/local-store/files/getall-latest @@ -0,0 +1,24 @@ +#!/bin/bash +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 +#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 + +wget -nc https://github.com/fusioninventory/fusioninventory-agent/releases/download/${FIAGREL}/fusioninventory-agent_windows-x86_${FIAGREL}.exe + +FOGREL=1.5.9 +wget -nc https://github.com/FOGProject/fogproject/archive/${FOGREL}.tar.gz -O fogproject-${FOGREL}.tar.gz +#https://github.com/FOGProject/fogproject/archive/1.5.9.tar.gz + +#wget -nc https://fr.wordpress.org/wordpress-5.3.2-fr_FR.tar.gz +wget -nc https://fr.wordpress.org/wordpress-5.6-fr_FR.tar.gz + +GOSSVER=v0.3.16 +curl -L https://github.com/aelsabbahy/goss/releases/download/${GOSSVER}/goss-linux-amd64 -o goss +chmod +x goss + diff --git a/roles/local-store/tasks/main.yml b/roles/local-store/tasks/main.yml new file mode 100644 index 0000000..1dc1ae9 --- /dev/null +++ b/roles/local-store/tasks/main.yml @@ -0,0 +1,18 @@ +--- + +- name: Installation bind9 + file: + path: /var/www/html/gsbstore/ + state: directory + mode: '0755' + +- name: Copie getall-latest + copy: + src: getall-latest + dest: /var/www/html/gsbstore + +- name: Copie getall-2021 + copy: + src: getall-2021 + dest: /var/www/html/gsbstore + diff --git a/s-adm.yml b/s-adm.yml index 169c8c1..b6a0e7b 100644 --- a/s-adm.yml +++ b/s-adm.yml @@ -8,7 +8,7 @@ - s-ssh - dnsmasq - squid - # - webautoconf + - local-store - snmp-agent - syslog-cli - post