aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/podman/tasks/debian.yml
blob: e261a3f78a87142670c0bfa092d3493a06a8ac18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---

- name: add apt https support
  apt:
    cache_valid_time: 3600
    update_cache: yes
    pkg:
      - apt-transport-https
      - gnupg
      - cron
      - ca-certificates
  when: ansible_distribution_major_version < 11

- name: add docker gpg key to apt keyring
  apt_key:
    id: 2472D6D0D2F66AF87ABA8DA34D64390375060AA4
    url: https://ftp.uni-stuttgart.de/opensuse/repositories/devel:/kubic:/libcontainers:/stable/{{ obs_distro }}/Release.key
  when: ansible_distribution_major_version < 11

- apt_repository:
    repo: "deb https://ftp.uni-stuttgart.de/opensuse/repositories/devel:/kubic:/libcontainers:/stable/{{ obs_distro }}/ /"
    state: present
    update_cache: yes
  when: ansible_distribution_major_version < 11

- name: install podman
  apt:
    pkg:
      - podman
      - runc
      - buildah
      - skopeo
      - dnsmasq