Compare commits
6 Commits
v0.0.6q-em
...
v0.0.6t-em
Author | SHA1 | Date | |
---|---|---|---|
c83ba7c977 | |||
1532c8bdd0 | |||
08c73d0416 | |||
083b112d03 | |||
252618618b | |||
34f3adb117 |
@ -35,23 +35,22 @@ table filter {
|
||||
proto (udp tcp) dport domain ACCEPT;
|
||||
proto udp dport bootps ACCEPT;
|
||||
}
|
||||
|
||||
# interface réseau
|
||||
interface $DEV_WORLD {
|
||||
|
||||
}
|
||||
|
||||
# the rest is dropped by the above policy
|
||||
}#FIN INPUT
|
||||
|
||||
# outgoing connections are not limited
|
||||
chain OUTPUT {policy ACCEPT;
|
||||
chain OUTPUT {
|
||||
policy ACCEPT;
|
||||
# interface $DEV_VPN proto ssh dport 22 ACCEPT;
|
||||
|
||||
}#FIN OUTPUT
|
||||
|
||||
chain FORWARD {
|
||||
policy ACCEPT;
|
||||
|
||||
proto icmp icmp-type echo-request ACCEPT;
|
||||
}
|
||||
# connection tracking
|
||||
mod state state INVALID DROP;
|
||||
mod state state (ESTABLISHED RELATED) ACCEPT;
|
||||
|
1
roles/peertube/files/resolv.conf
Normal file
1
roles/peertube/files/resolv.conf
Normal file
@ -0,0 +1 @@
|
||||
nameserver 192.168.99.99
|
@ -5,6 +5,15 @@
|
||||
- name: installation de k3s...
|
||||
shell: curl -sfL https://get.k3s.io | sh -s - --docker
|
||||
|
||||
- name: exposition du cluster...
|
||||
shell: export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
|
||||
|
||||
- name: mise a jour de resolv.conf...
|
||||
copy:
|
||||
src: /root/tools/ansible/gsb2023/roles/peertube/files/resolv.conf
|
||||
dest: /etc/
|
||||
mode: '0644'
|
||||
|
||||
- name: création du répertoire du dépot peertube...
|
||||
file:
|
||||
path: /root/tools/peertube
|
||||
@ -16,6 +25,7 @@
|
||||
repo: https://github.com/Elam-Monnot/Peertube-helm.git
|
||||
dest: /root/tools/peertube
|
||||
clone: yes
|
||||
force: yes
|
||||
|
||||
- name: copie de values.yaml...
|
||||
copy:
|
||||
@ -27,4 +37,7 @@
|
||||
shell: curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||
|
||||
- name: installation de peertube...
|
||||
shell: helm repo add postgresql 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 dependency build /root/tools/peertube/helm/ && helm install --create-namespace -n peertube peertube-gsb /root/tools/peertube/helm
|
||||
shell: helm repo add postgresql https://charts.bitnami.com/bitnami && helm repo add redis https://charts.bitnami.com/bitnami && helm repo add mail https://bokysan.github.io/docker-postfix
|
||||
|
||||
- name: lancement du helm chart peertube...
|
||||
shell: helm install --create-namespace -n peertube peertube-gsb /root/tools/peertube/helm
|
||||
|
Reference in New Issue
Block a user