diff --git a/roles/peertube/tasks/main.yml b/roles/peertube/tasks/main.yml index 9c8f59b..bac08aa 100644 --- a/roles/peertube/tasks/main.yml +++ b/roles/peertube/tasks/main.yml @@ -39,11 +39,16 @@ become: true community.docker.docker_volume: name: peertube-data +- name: Pull peertube image + become: true + community.docker.docker_image: + name: "{{ image }}" + source: pull - name: Run peertube container become: true community.docker.docker_container: name: peertube - image: chocobozzz/peertube:v6.3.2-bookworm + image: "{{ image }}" networks: - name: peertube - name: haproxy diff --git a/roles/peertube/vars/main.yml b/roles/peertube/vars/main.yml new file mode 100644 index 0000000..9720626 --- /dev/null +++ b/roles/peertube/vars/main.yml @@ -0,0 +1 @@ +image: chocobozzz/peertube:v7.0.0-bookworm