Compare commits

..

5 Commits

Author SHA1 Message Date
17b049942f caractere unicode dans goss/tasks 2023-01-06 09:29:41 +01:00
acb5492b45 correction diverss pull-config ... 2023-01-06 09:23:55 +01:00
d0314e508a pull-config 2023-01-05 23:43:01 +01:00
9c2660ece3 mkvm 2023-01-05 23:37:48 +01:00
c0d2115acd adapt. diverse pour passage a 2023 2023-01-05 21:04:31 +01:00
7 changed files with 20 additions and 11 deletions

View File

@ -1,9 +1,14 @@
# gsb2023
2023-01-06
Environnement et playbooks ansible pour le projet GSB 2023
## Quickstart
prérequis : une machine Debian Bullseye
prérequis :
* une machine Debian Bullseye
* VirtualBox
## Les machines
@ -20,7 +25,7 @@ prérequis : une machine Debian Bullseye
## Installation
On utilisera l'image de machine virtuelle suivante :
* **debian-bullseye-2023a.ova** (2022-05-07)
* **debian-bullseye-2023a.ova** (2023-01-06)
* Debian Bullseye 11 - 2 cartes - 1 Go - stockage 20 Go
@ -35,7 +40,7 @@ On utilisera l'image de machine virtuelle suivante :
bash inst-depl
cd /var/www/html/gsbstore
bash getall
cd /root/tools/ansible/gsb022/pre
cd /root/tools/ansible/gsb023/pre
bash gsbboot
cd .. ; bash pull-config
```

View File

@ -24,7 +24,7 @@ if [[ -z ${DEPL+x} ]]; then
fi
hostf="${host}.local"
prj=gsb2022
prj=gsb2023
APT=apt
which git >> /dev/null

View File

@ -4,7 +4,7 @@
set -o errexit
set -o pipefail
GITUSR=gitgsb
GITPRJ=gsb2022
GITPRJ=gsb2023
apt update && apt upgrade
apt install -y apache2 git
STOREREP="/var/www/html/gsbstore"

View File

@ -1,7 +1,7 @@
#!/bin/bash
if [ -z ${UREP+x} ]; then
UREP=https://gitea.lyc-lecastel.fr/gadmin/gsb2022.git
UREP=https://gitea.lyc-lecastel.fr/gadmin/gsb2023.git
fi
dir=/root/tools/ansible
@ -11,6 +11,6 @@ dir=/root/tools/ansible
cd "${dir}" || exit 1
hostname > hosts
ansible-pull -i "${dir}/hosts" -U "${UREP}"
ansible-pull -i "${dir}/hosts" -C main -U "${UREP}"
exit 0

View File

@ -1,7 +1,7 @@
#!/bin/bash
if [ -z ${UREP+x} ]; then
UREP=https://gitea.lyc-lecastel.fr/gadmin/gsb2022.git
UREP=https://gitea.lyc-lecastel.fr/gadmin/gsb2023.git
fi
dir=/root/tools/ansible

View File

@ -1,6 +1,6 @@
#!/bin/bash
ovarelease="2023b"
ovarelease="2023a"
ovafile="$HOME/Téléchargements/debian-bullseye-gsb-${ovarelease}.ova"
@ -37,6 +37,10 @@ create_if () {
}
if [[ $# != 1 ]] ; then
usage
fi
vm=$1
create_vm "${vm}"