Compare commits
2 Commits
v0.0.6c-em
...
v0.0.6e-em
Author | SHA1 | Date | |
---|---|---|---|
dd8bb815cc | |||
a35048dc9f |
0
roles/peertube/README.md
Normal file
0
roles/peertube/README.md
Normal file
11
roles/peertube/tasks/main.yml
Normal file
11
roles/peertube/tasks/main.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
- name: installation de docker...
|
||||||
|
command: curl https://releases.rancher.com/install-docker/20.10.sh | sh
|
||||||
|
|
||||||
|
- name: installation de k3s...
|
||||||
|
command: curl -sfL https://get.k3s.io | sh -s - --docker
|
||||||
|
|
||||||
|
- name: activationde k3s au démarrage...
|
||||||
|
systemd:
|
||||||
|
name: k3s
|
||||||
|
enabled: true
|
16
roles/post/files/interfaces.s-peertube
Normal file
16
roles/post/files/interfaces.s-peertube
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
### 0.1 - putconf - jeudi 30 mars 2023, 8:11:30 (UTC+0100)
|
||||||
|
|
||||||
|
# The loopback network interface
|
||||||
|
auto lo
|
||||||
|
iface lo inet loopback
|
||||||
|
|
||||||
|
# carte n-adm
|
||||||
|
allow-hotplug enp0s3
|
||||||
|
iface enp0s3 inet static
|
||||||
|
address 192.168.99.120/24
|
||||||
|
|
||||||
|
# Réseau n-dmz
|
||||||
|
allow-hotplug enp0s8
|
||||||
|
iface enp0s8 inet static
|
||||||
|
address 192.168.100.20/24
|
||||||
|
|
@ -21,4 +21,3 @@
|
|||||||
|
|
||||||
#- name: Reboot
|
#- name: Reboot
|
||||||
# shell: reboot
|
# shell: reboot
|
||||||
|
|
||||||
|
10
s-peertube.yml
Normal file
10
s-peertube.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
connection: local
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- base
|
||||||
|
- peertube
|
||||||
|
- post
|
||||||
|
- snmp-agent
|
||||||
|
- ssh-cli
|
18
scripts/addint.s-peertube
Executable file
18
scripts/addint.s-peertube
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
nom=s-lb-web1
|
||||||
|
|
||||||
|
# N-adm (enp0s3)
|
||||||
|
|
||||||
|
VBoxManage modifyvm $nom --nic1 intnet
|
||||||
|
VBoxManage modifyvm $nom --intnet1 "n-adm"
|
||||||
|
VBoxManage modifyvm $nom --nictype1 82540EM
|
||||||
|
VBoxManage modifyvm $nom --cableconnected1 on
|
||||||
|
VBoxManage modifyvm $nom --nicpromisc1 allow-all
|
||||||
|
|
||||||
|
# N-dmz (enp0s8)
|
||||||
|
|
||||||
|
VBoxManage modifyvm $nom --nic2 intnet
|
||||||
|
VBoxManage modifyvm $nom --intnet2 "n-dmz"
|
||||||
|
VBoxManage modifyvm $nom --nictype2 82540EM
|
||||||
|
VBoxManage modifyvm $nom --cableconnected2 on
|
||||||
|
VBoxManage modifyvm $nom --nicpromisc2 allow-all
|
Reference in New Issue
Block a user