Compare commits
7 Commits
v0.0.2f-ps
...
v0.0.2k-aa
Author | SHA1 | Date | |
---|---|---|---|
c20f44ec6e | |||
0c7d48caf3 | |||
12de1c8891 | |||
5fffbc77e2 | |||
b1e87cdd1e | |||
7f7207cf46 | |||
1187a5e28d |
@ -2,19 +2,19 @@
|
|||||||
|
|
||||||
Nextcloud et Traefik fonctionnent grâce à docker. Pour pouvoir faire fonctionner ce playbook, docker doit être installé.
|
Nextcloud et Traefik fonctionnent grâce à docker. Pour pouvoir faire fonctionner ce playbook, docker doit être installé.
|
||||||
|
|
||||||
## 1.
|
## 1.
|
||||||
|
|
||||||
Le playbook crée le dossier **nxc** à la racine de root.
|
Le playbook crée le dossier **nxc** à la racine de root.
|
||||||
|
|
||||||
Les fichiers "nextcloud.yml" et "traefik.yml" y seront copiés depuis le répertoire "files" du playbook.
|
Les fichiers "nextcloud.yml" et "traefik.yml" y seront copiés depuis le répertoire "files" du playbook.
|
||||||
|
|
||||||
Enfin, dans le répertoire nxc, seront créés les répertoires **certs** et **config**.
|
Enfin, dans le répertoire nxc, sont créés les répertoires **certs** et **config**.
|
||||||
|
|
||||||
## 2. Copie des fichiers
|
## 2. Copie des fichiers
|
||||||
|
|
||||||
Le playbook copie les fichiers placés dans "files" et les placer dans les bons répertoires.
|
Le playbook copie les fichiers placés dans "files" et les placer dans les bons répertoires.
|
||||||
|
|
||||||
## 3. Generation du certificat
|
## 3. Génération du certificat
|
||||||
|
|
||||||
Le playbook crée un certificat **x509** grâce à **mkcert**, il s'agit d'une solution permettant de créer des certificats auto-signés. Pour cela, il télécharge **mkcert** sur **s-adm** (utiliser le script **getall**).
|
Le playbook crée un certificat **x509** grâce à **mkcert**, il s'agit d'une solution permettant de créer des certificats auto-signés. Pour cela, il télécharge **mkcert** sur **s-adm** (utiliser le script **getall**).
|
||||||
|
|
||||||
|
@ -17,5 +17,5 @@
|
|||||||
#- name: copie du fichier de configuration depuis r-vp1
|
#- name: copie du fichier de configuration depuis r-vp1
|
||||||
# command: "sshpass -p 'root' scp -r root@192.168.99.112:/root/confwg/wg0-b.conf /etc/wireguard/"
|
# command: "sshpass -p 'root' scp -r root@192.168.99.112:/root/confwg/wg0-b.conf /etc/wireguard/"
|
||||||
|
|
||||||
- name: renommage du fichier de configuration
|
#- name: renommage du fichier de configuration
|
||||||
command: "mv /etc/wireguard/wg0-b.conf /etc/wireguard/wg0.conf"
|
# command: "mv /etc/wireguard/wg0-b.conf /etc/wireguard/wg0.conf"
|
||||||
|
3
windows/mkusr-backup.cmd
Normal file
3
windows/mkusr-backup.cmd
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
net group gg-backup /ADD
|
||||||
|
call mkusr uBackup "u-backup" gg-backup
|
||||||
|
icacls "C:\gsb\partages\public" /Grant:r uBackup:M /T
|
@ -1,14 +1,22 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo ping interface paserelle r-vp2
|
||||||
ping -c3 172.16.128.254
|
ping -c3 172.16.128.254
|
||||||
|
|
||||||
|
echo ping r-vp1 interface n-linkv
|
||||||
ping -c3 192.168.1.2
|
ping -c3 192.168.1.2
|
||||||
|
|
||||||
|
echo ping r-ext interface n-linkv
|
||||||
ping -c3 192.168.1.1
|
ping -c3 192.168.1.1
|
||||||
|
|
||||||
|
echo ping r-ext interface n-link
|
||||||
ping -c3 192.168.200.253
|
ping -c3 192.168.200.253
|
||||||
|
|
||||||
|
echo ping r-int interface n-link
|
||||||
ping -c3 192.168.200.254
|
ping -c3 192.168.200.254
|
||||||
|
|
||||||
|
echo ping r-int interface s-infra
|
||||||
ping -c3 172.16.0.254
|
ping -c3 172.16.0.254
|
||||||
|
|
||||||
|
echo ping s-infra
|
||||||
ping -c3 172.16.0.1
|
ping -c3 172.16.0.1
|
||||||
|
@ -1,14 +1,22 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo ping s-infra
|
||||||
ping -c3 172.16.0.1
|
ping -c3 172.16.0.1
|
||||||
|
|
||||||
|
echo ping r-int interface n-infra
|
||||||
ping -c3 172.16.0.254
|
ping -c3 172.16.0.254
|
||||||
|
|
||||||
|
echo ping r-int interface n-link
|
||||||
ping -c3 192.168.200.254
|
ping -c3 192.168.200.254
|
||||||
|
|
||||||
|
echo ping r-ext interface n-linkv
|
||||||
ping -c3 192.168.1.1
|
ping -c3 192.168.1.1
|
||||||
|
|
||||||
|
echo ping r-vp1 interface n-linkv
|
||||||
ping -c3 192.168.1.2
|
ping -c3 192.168.1.2
|
||||||
|
|
||||||
|
echo ping r-vp2 interface n-ag
|
||||||
ping -c3 172.16.128.254
|
ping -c3 172.16.128.254
|
||||||
|
|
||||||
|
echo ping s-agence
|
||||||
ping -c3 172.16.128.10
|
ping -c3 172.16.128.10
|
||||||
|
@ -1,12 +1,19 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo ping s-infra
|
||||||
ping -c3 172.16.0.1
|
ping -c3 172.16.0.1
|
||||||
|
|
||||||
|
echo ping r-ext interface n-link
|
||||||
ping -c3 192.168.200.253
|
ping -c3 192.168.200.253
|
||||||
|
|
||||||
|
echo ping r-ext interface n-linkv
|
||||||
ping -c3 192.168.1.1
|
ping -c3 192.168.1.1
|
||||||
|
|
||||||
|
echo ping r-vp1 interface n-link
|
||||||
ping -c3 192.168.1.2
|
ping -c3 192.168.1.2
|
||||||
|
|
||||||
|
echo ping r-vp2 interface n-ag
|
||||||
ping -c3 172.16.128.254
|
ping -c3 172.16.128.254
|
||||||
|
|
||||||
|
echo ping s-agence
|
||||||
ping -c3 172.16.128.10
|
ping -c3 172.16.128.10
|
||||||
|
@ -1,14 +1,21 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
echo ping vers r-int
|
||||||
ping -c3 172.16.0.254
|
ping -c3 172.16.0.254
|
||||||
|
|
||||||
|
echo ping r-int interface externe
|
||||||
ping -c3 192.168.200.254
|
ping -c3 192.168.200.254
|
||||||
|
|
||||||
|
echo ping r-ext interface interne
|
||||||
ping -c3 192.168.200.253
|
ping -c3 192.168.200.253
|
||||||
|
|
||||||
|
echo ping r-ext interface liaison
|
||||||
ping -c3 192.168.1.1
|
ping -c3 192.168.1.1
|
||||||
|
|
||||||
|
echo ping r-vp1 interface liaison n-linkv
|
||||||
ping -c3 192.168.1.2
|
ping -c3 192.168.1.2
|
||||||
|
|
||||||
ping -c3 172.16.125.254
|
echo ping r-vp2 interface interface interne
|
||||||
|
ping -c3 172.16.128.254
|
||||||
|
|
||||||
ping -c3 172.16.128.10
|
echo ping s-agence
|
||||||
|
ping -c3 172.16.128.11
|
||||||
|
Reference in New Issue
Block a user