Update docker-cluster role for ubuntu 22.04

This commit is contained in:
Przemek Grondek 2023-09-24 00:02:59 +02:00
parent 4f89c4f67e
commit 840f3629bc
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,7 @@
- name: install modules for docker networks
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "22.04"
become: yes
apt:
update_cache: yes
pkg:
- linux-modules-extra-raspi

View File

@ -5,6 +5,8 @@
- import_tasks: install-docker-io.yml - import_tasks: install-docker-io.yml
when: ansible_distribution == "Ubuntu" and ansible_distribution_version != "18.04" when: ansible_distribution == "Ubuntu" and ansible_distribution_version != "18.04"
- import_tasks: dependencies.yml
- import_tasks: nfs-client.yml - import_tasks: nfs-client.yml
- import_tasks: gluster.yml - import_tasks: gluster.yml
@ -17,4 +19,4 @@
- import_tasks: ssh-external.yml - import_tasks: ssh-external.yml
- import_tasks: docker-cron.yml - import_tasks: docker-cron.yml