Add docker-swarm-cluster/roles/common/tasks/main.yml

This commit is contained in:
Simar 2025-08-03 09:31:59 +03:00
parent 499b363cb2
commit 51fd7596eb

View file

@ -0,0 +1,17 @@
---
- name: Update apt cache
become: yes
apt:
update_cache: yes
- name: Install necessary packages for Docker installation
become: yes
apt:
name: "{{ item }}"
state: present
loop:
- apt-transport-https
- ca-certificates
- curl
- gnupg-agent
- software-properties-common