From 34f3adb1177c9d4de2830410f6a3a4c4ebf21210 Mon Sep 17 00:00:00 2001 From: Elam Monnot Date: Tue, 4 Apr 2023 08:24:52 +0200 Subject: [PATCH] feat: peertube role changes resolv.conf --- roles/peertube/files/resolv.conf | 1 + roles/peertube/tasks/main.yml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 roles/peertube/files/resolv.conf diff --git a/roles/peertube/files/resolv.conf b/roles/peertube/files/resolv.conf new file mode 100644 index 0000000..d62168f --- /dev/null +++ b/roles/peertube/files/resolv.conf @@ -0,0 +1 @@ +nameserver 192.168.99.99 diff --git a/roles/peertube/tasks/main.yml b/roles/peertube/tasks/main.yml index d484983..bcf40b6 100644 --- a/roles/peertube/tasks/main.yml +++ b/roles/peertube/tasks/main.yml @@ -5,6 +5,12 @@ - name: installation de k3s... shell: curl -sfL https://get.k3s.io | sh -s - --docker + - 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