Update docker-cluster role for ubuntu 22.04
This commit is contained in:
parent
4f89c4f67e
commit
840f3629bc
7
roles/docker-cluster/tasks/dependencies.yml
Normal file
7
roles/docker-cluster/tasks/dependencies.yml
Normal 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
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user