Fix docker apt repo

This commit is contained in:
Tobias Reisinger 2025-12-11 18:25:40 +01:00
parent 0a6ac9b168
commit fc745fa8b4
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 3 additions and 9 deletions

View file

@ -14,13 +14,14 @@
- name: Add Docker GPG apt Key - name: Add Docker GPG apt Key
ansible.builtin.apt_key: ansible.builtin.apt_key:
url: https://download.docker.com/linux/ubuntu/gpg url: https://download.docker.com/linux/debian/gpg
keyring: /etc/apt/trusted.gpg.d/docker.gpg
state: present state: present
become: true become: true
- name: Add Docker Repository - name: Add Docker Repository
ansible.builtin.apt_repository: ansible.builtin.apt_repository:
repo: deb https://download.docker.com/linux/ubuntu focal stable repo: deb https://download.docker.com/linux/debian {{ ansible_lsb.codename }} stable
state: present state: present
become: true become: true

View file

@ -1,10 +1,3 @@
- name: Install aptitude
ansible.builtin.apt:
name: aptitude
state: present
update_cache: true
become: true
- name: Install wanted software - name: Install wanted software
ansible.builtin.apt: ansible.builtin.apt:
pkg: pkg: