add missing packages
This commit is contained in:
parent
25f5d1e9d2
commit
a1ac5d6348
2 changed files with 9 additions and 7 deletions
|
@ -25,6 +25,9 @@ install_packages:
|
|||
- package: "podman"
|
||||
- package: "python-pip-whl"
|
||||
- package: "python-setuptools"
|
||||
- package: skopeo
|
||||
- package: containernetworking-plugins
|
||||
|
||||
|
||||
uninstall_packages:
|
||||
- package: "docker-engine"
|
||||
|
|
|
@ -21,13 +21,6 @@
|
|||
- { repo: "deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable" }
|
||||
when: docker_command == 'docker'
|
||||
|
||||
- name: Run apt update
|
||||
apt:
|
||||
update_cache: true
|
||||
cache_valid_time: 3600
|
||||
become: true
|
||||
when: docker_command == 'docker'
|
||||
|
||||
- name: Ensure keyring folder for apt exists
|
||||
file:
|
||||
path: /etc/apt/keyrings
|
||||
|
@ -46,3 +39,9 @@
|
|||
when:
|
||||
- docker_command == 'podman'
|
||||
- ansible_distribution_version|int < 20.10
|
||||
|
||||
- name: Run apt update
|
||||
apt:
|
||||
update_cache: true
|
||||
cache_valid_time: 3600
|
||||
become: true
|
||||
|
|
Loading…
Reference in a new issue