Compare commits
8 Commits
v0.0.7i-aa
...
v0.0.7o-em
Author | SHA1 | Date | |
---|---|---|---|
d0efb480c8 | |||
be47dbabd2 | |||
24d8892b4c | |||
2c828574ef | |||
a5f0d258a5 | |||
52b9f3af87 | |||
8dc1f9a891 | |||
0d3860211b |
@ -36,4 +36,4 @@ s-web2 IN A 192.168.101.2
|
|||||||
s-lb.gsb.lan IN A 192.168.100.10
|
s-lb.gsb.lan IN A 192.168.100.10
|
||||||
ns IN CNAME s-infra.gsb.lan.
|
ns IN CNAME s-infra.gsb.lan.
|
||||||
wpad IN CNAME s-infra.gsb.lan.
|
wpad IN CNAME s-infra.gsb.lan.
|
||||||
peertube IN A 192.168.100.20
|
s-peertube IN A 192.168.100.20
|
||||||
|
@ -22,5 +22,5 @@
|
|||||||
command: "cp /root/tools/ansible/roles/fog/files/fogsettings /opt/fog/"
|
command: "cp /root/tools/ansible/roles/fog/files/fogsettings /opt/fog/"
|
||||||
|
|
||||||
- name: fichier fogsettings en .fogsettings
|
- name: fichier fogsettings en .fogsettings
|
||||||
command: "mv /opt/fog/fogsettings /opt/fog/.fogsettings"
|
command: "mv /opt/fog/fogsettings /opt/fog/.fogsettings"
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
host: localhost
|
host: localhost
|
||||||
|
|
||||||
- name: installation de k3s...
|
- name: installation de k3s...
|
||||||
shell: curl -sfL https://get.k3s.io | sh -s - --docker
|
shell: curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--node-ip=192.168.100.20 --flannel-iface=enp0s8" sh -s - --docker
|
||||||
|
|
||||||
- name: attente de l'installation de k3s...
|
- name: attente de l'installation de k3s...
|
||||||
wait_for:
|
wait_for:
|
||||||
|
@ -1,10 +1,7 @@
|
|||||||
|
MYHOST=s-peertube.gsb.lan;
|
||||||
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml;
|
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml;
|
||||||
helm upgrade --install ingress-nginx ingress-nginx \
|
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out tls.cert -subj /CN="${MYHOST}"/O="${MYHOST}" -addext "subjectAltName = DNS:${MYHOST}";
|
||||||
--repo https://kubernetes.github.io/ingress-nginx \
|
kubectl create secret tls tls-peertube --key tls.key --cert tls.cert;
|
||||||
--namespace ingress-nginx --create-namespace;
|
|
||||||
sleep 15;
|
|
||||||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ${KEY_FILE} -out ${CERT_FILE} -subj "/CN=${HOST}/O=${HOST}" -addext "subjectAltName = DNS:${HOST}";
|
|
||||||
kubectl create secret tls tls-peertube --key ${KEY_FILE} --cert ${CERT_FILE};
|
|
||||||
helm repo add postgresql https://charts.bitnami.com/bitnami;
|
helm repo add postgresql https://charts.bitnami.com/bitnami;
|
||||||
helm repo add redis https://charts.bitnami.com/bitnami;
|
helm repo add redis https://charts.bitnami.com/bitnami;
|
||||||
helm repo add mail https://bokysan.github.io/docker-postfix;
|
helm repo add mail https://bokysan.github.io/docker-postfix;
|
||||||
|
@ -101,8 +101,8 @@ ingress:
|
|||||||
enabled: true
|
enabled: true
|
||||||
className: ""
|
className: ""
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: nginx
|
kubernetes.io/ingress.class: traefik
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: 4G # this caps the size of imported videos, if set low this might prevent you from uploading videos
|
nginx.ingress.kubernetes.io/proxy-body-size: 6G # this caps the size of imported videos, if set low this might prevent you from uploading videos
|
||||||
# kubernetes.io/tls-acme: "true"
|
# kubernetes.io/tls-acme: "true"
|
||||||
hosts:
|
hosts:
|
||||||
- host: s-peertube.gsb.lan
|
- host: s-peertube.gsb.lan
|
||||||
|
@ -34,4 +34,4 @@ iface enp0s10 inet static
|
|||||||
allow-hotplug enp0s16
|
allow-hotplug enp0s16
|
||||||
iface enp0s16 inet static
|
iface enp0s16 inet static
|
||||||
address 172.16.0.254/24
|
address 172.16.0.254/24
|
||||||
|
post-up sleep 10 && systemctl restart isc-dhcp-server
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ajout du sleep 5
|
# ajout du sleep 5
|
||||||
|
|
||||||
~~éditer "/etc/init.d/isc-dhcp-server"
|
~~éditer "/etc/init.d/isc-dhcp-server"~~
|
||||||
~~aller au "case \"$1\" in" et rajouter "sleep 5" avant le "if"
|
~~aller au "case \"$1\" in" et rajouter "sleep 5" avant le "if"~~
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
@echo off
|
||||||
net group gg-backup /ADD
|
net group gg-backup /ADD
|
||||||
call mkusr uBackup "u-backup" gg-backup
|
call mkusr uBackup "u-backup" gg-backup
|
||||||
icacls "C:\gsb\partages\public" /Grant:r uBackup:M /T
|
icacls "C:\gsb\partages\public" /Grant:r uBackup:M /T
|
@ -1,3 +1,4 @@
|
|||||||
|
@echo off
|
||||||
call mkusr aDupont "Albert Dupon" gg-compta
|
call mkusr aDupont "Albert Dupon" gg-compta
|
||||||
call mkusr cSeum "Claire Seum" gg-compta
|
call mkusr cSeum "Claire Seum" gg-compta
|
||||||
call mkusr nPaul "Nicolas Paul" gg-compta
|
call mkusr nPaul "Nicolas Paul" gg-compta
|
||||||
|
2
windows/mkusr-nextcloud.cmd
Normal file
2
windows/mkusr-nextcloud.cmd
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
@echo off
|
||||||
|
call mkusr nextcloud "nextcloud" nextcloud
|
Reference in New Issue
Block a user