ci/cd roles

This commit is contained in:
CC
2026-05-21 15:56:44 +01:00
parent 223b287c08
commit 7f679b6ae2
5 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
- name: Install gpg
ansible.builtin.apt:
name: gpg
- name: Add Docker repository key
ansible.builtin.apt_key:
url: https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg
keyring: /etc/apt/trusted.gpg.d/docker.gpg
- name: Add Docker repository
ansible.builtin.apt_repository:
# Use HTTP to enable apt-cacher
repo: deb http://download.docker.com/linux/{{ ansible_distribution | lower }} {{ ansible_distribution_release }} stable
filename: docker
- name: Install Docker
ansible.builtin.apt:
name: "{{ item }}"
loop:
- docker-ce
- docker-ce-cli
- containerd.io