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:
parent
7420ed6010
commit
1ea63a19d3
1 changed files with 13 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue