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

28 lines
479 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: "podman={{ podman_version }}"
state: present
- name: ensure podman socket is configured
copy:
src: files/podman.socket
dest: /etc/systemd/system/podman.socket
owner: root
group: root
mode: 0755
...