build-all

This commit is contained in:
2026-05-27 00:19:15 +02:00
parent 52ebec2615
commit a2fac027d5
+8 -11
View File
@@ -67,6 +67,7 @@
- curl - curl
- gnupg2 - gnupg2
- software-properties-common - software-properties-common
- gnupg
state: present state: present
- name: Remove old Docker repository files (if any) - name: Remove old Docker repository files (if any)
@@ -84,18 +85,13 @@
state: directory state: directory
mode: '0755' mode: '0755'
- name: Download Docker GPG key (ascii) - name: Add Docker GPG key
ansible.builtin.get_url: ansible.builtin.get_url:
url: https://download.docker.com/linux/debian/gpg url: https://download.docker.com/linux/debian/gpg
dest: /tmp/docker.gpg dest: /etc/apt/keyrings/docker.asc
mode: '0644' mode: '0644'
- name: Dearmor Docker GPG key - name: Add Docker repository
ansible.builtin.command:
cmd: gpg --dearmor -o /etc/apt/keyrings/docker.gpg /tmp/docker.gpg
creates: /etc/apt/keyrings/docker.gpg
- name: Add Docker repository source file
ansible.builtin.copy: ansible.builtin.copy:
dest: /etc/apt/sources.list.d/docker.sources dest: /etc/apt/sources.list.d/docker.sources
mode: '0644' mode: '0644'
@@ -105,17 +101,18 @@
Suites: {{ ansible_distribution_release }} Suites: {{ ansible_distribution_release }}
Components: stable Components: stable
Architectures: {{ 'amd64' if ansible_architecture == 'x86_64' else ansible_architecture }} Architectures: {{ 'amd64' if ansible_architecture == 'x86_64' else ansible_architecture }}
Signed-By: /etc/apt/keyrings/docker.gpg Signed-By: /etc/apt/keyrings/docker.asc
- name: Update apt cache - name: Update apt cache
apt: apt:
update_cache: yes update_cache: true
- name: Install required packages - name: Install required packages
apt: apt:
name: name:
- containerd.io - containerd.io
state: present state: present
update_cache: yes update_cache: true
- name: Generate default containerd config - name: Generate default containerd config
command: containerd config default command: containerd config default