Rename podman_prep to podman, remove version pinning for podman to save headaches in the short term

This commit is contained in:
Amarpreet Minhas 2021-09-08 22:39:07 -04:00
parent 81d08f7316
commit ef00255cac
3 changed files with 12 additions and 6 deletions

View file

@ -63,9 +63,6 @@ vault_ca_cert_payload: |
nomad_version: 1.1.3
nomad_podman_driver_version: 0.3.0
# podman
podman_version: 3.0.1+dfsg1-3+b2
# lnd
lnd_version: 0.13.1-beta

View file

@ -1,5 +1,5 @@
---
- import_tasks: podman_prep.yml
- import_tasks: podman.yml
- import_tasks: nomad.yml
- import_tasks: client_setup.yml
...

View file

@ -16,15 +16,24 @@
apt:
name:
- fuse-overlayfs
- "podman={{ podman_version }}"
- podman
- slirp4netns
- uidmap
state: present
- name: ensure containers.conf is configured
file:
src: containers.conf
dest: /etc/containers/containers.conf
owner: root
group: root
mode: 0644
- name: enable podman
systemd:
name: podman
state: started
enabled: True
enabled: False
daemon_reload: True
changed_when: False
...