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