summaryrefslogtreecommitdiff
path: root/roles/containerd/tasks/main.yml
blob: f0d29a4ac0733306c030523dc24d217c8e5b592b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: check for supported platform
  when: ansible_distribution != "Ubuntu"
  fail:
    msg: "currenty this only works with ubuntu"

- name: prepare storage volume for /var/lib/containerd
  when: containerd_storage is defined
  import_tasks: "{{ containerd_storage.type }}.yml"

- name: install containerd
  apt:
    name: containerd
    state: present
    force: yes