infra/ansible/roles/nomad_client/tasks/podman_prep.yml

31 lines
487 B
YAML
Raw Normal View History

2020-10-01 00:59:50 +00:00
---
- name: ensure podman group
group:
name: podman
state: present
system: True
- name: ensure podman user
user:
name: podman
state: present
group: podman
system: True
- name: ensure podman is installed
apt:
name:
- fuse-overlayfs
- "podman={{ podman_version }}"
- uidmap
2020-10-01 00:59:50 +00:00
state: present
- name: enable podman
systemd:
name: podman
state: started
enabled: True
daemon_reload: True
changed_when: False
2020-10-01 00:59:50 +00:00
...