diff --git a/roles/peertube/README.md b/roles/peertube/README.md new file mode 100644 index 0000000..e69de29 diff --git a/roles/peertube/tasks/main.yml b/roles/peertube/tasks/main.yml new file mode 100644 index 0000000..b717172 --- /dev/null +++ b/roles/peertube/tasks/main.yml @@ -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 diff --git a/roles/post/files/interfaces.s-peertube b/roles/post/files/interfaces.s-peertube new file mode 100644 index 0000000..00dcfde --- /dev/null +++ b/roles/post/files/interfaces.s-peertube @@ -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-lb +allow-hotplug enp0s8 +iface enp0s8 inet static + address 192.168.100.20/24 + diff --git a/roles/post/tasks/main.yml b/roles/post/tasks/main.yml index ea88111..bcc402f 100644 --- a/roles/post/tasks/main.yml +++ b/roles/post/tasks/main.yml @@ -21,4 +21,3 @@ #- name: Reboot # shell: reboot - diff --git a/s-peertube.yml b/s-peertube.yml new file mode 100644 index 0000000..15335d2 --- /dev/null +++ b/s-peertube.yml @@ -0,0 +1,10 @@ +--- +- hosts: localhost + connection: local + + roles: + - base + - peertube + - post + - snmp-agent + - ssh-cli