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_version: 1.1.3
nomad_podman_driver_version: 0.3.0 nomad_podman_driver_version: 0.3.0
# podman
podman_version: 3.0.1+dfsg1-3+b2
# lnd # lnd
lnd_version: 0.13.1-beta 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: nomad.yml
- import_tasks: client_setup.yml - import_tasks: client_setup.yml
... ...

View file

@ -16,15 +16,24 @@
apt: apt:
name: name:
- fuse-overlayfs - fuse-overlayfs
- "podman={{ podman_version }}" - podman
- slirp4netns
- uidmap - uidmap
state: present 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 - name: enable podman
systemd: systemd:
name: podman name: podman
state: started state: started
enabled: True enabled: False
daemon_reload: True daemon_reload: True
changed_when: False changed_when: False
... ...