From 51fd7596eb18c34af04601d890883906fb30196b Mon Sep 17 00:00:00 2001 From: Simar Date: Sun, 3 Aug 2025 09:31:59 +0300 Subject: [PATCH] Add docker-swarm-cluster/roles/common/tasks/main.yml --- .../roles/common/tasks/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docker-swarm-cluster/roles/common/tasks/main.yml diff --git a/docker-swarm-cluster/roles/common/tasks/main.yml b/docker-swarm-cluster/roles/common/tasks/main.yml new file mode 100644 index 0000000..4a5e473 --- /dev/null +++ b/docker-swarm-cluster/roles/common/tasks/main.yml @@ -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 \ No newline at end of file