Fix docker apt repo
This commit is contained in:
parent
0a6ac9b168
commit
fc745fa8b4
2 changed files with 3 additions and 9 deletions
|
|
@ -14,13 +14,14 @@
|
|||
|
||||
- name: Add Docker GPG 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
|
||||
become: true
|
||||
|
||||
- name: Add Docker 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
|
||||
become: true
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,3 @@
|
|||
- name: Install aptitude
|
||||
ansible.builtin.apt:
|
||||
name: aptitude
|
||||
state: present
|
||||
update_cache: true
|
||||
become: true
|
||||
|
||||
- name: Install wanted software
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue