maintenance(playbook): ensure docker repo and install before update

As with ensuring the nginx repo setup and install on relevant hosts, do
the same for docker.
This commit is contained in:
June 2025-02-18 05:48:01 +01:00
parent 7420ed6010
commit 1ea63a19d3
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -11,6 +11,19 @@
name: nginx
tasks_from: main/03_nginx_install.yaml
- name: Ensure Docker repo setup and package install on relevant hosts
hosts: docker_compose_hosts:nextcloud_hosts
tasks:
- name: Ensure Docker repo is setup
ansible.builtin.include_role:
name: docker
tasks_from: main/01_repo_setup.yaml
- name: Ensure Docker Engine and other related packages are installed
ansible.builtin.include_role:
name: docker
tasks_from: main/02_docker_install.yaml
- name: Make Sure System Package Are Up-To-Date for all non-hypervisors
hosts: all:!hypervisors
roles: