Skip to content

Commit

Permalink
updated to be competable with newer podman version
Browse files Browse the repository at this point in the history
(according to containers/podman#7704)

Change-Id: I35b54ceb5dc1f19a41d0106b586bcb961094b607
  • Loading branch information
eshulman2 committed Dec 16, 2021
1 parent 153f874 commit 9222bbe
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions roles/tester/tempest/tasks/prep_container_tempest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
state: installed
become: true

- name: enable namespaces for non-root users
sysctl:
name: user.max_user_namespaces
value: 10000
state: present
sysctl_file: /etc/sysctl.d/42-rootless.conf
reload: yes
become: true

- name: get NFV podman container from registry
containers.podman.podman_container:
image: "{{ container_image }}:{{ container_version | default('latest') }}"
Expand Down

0 comments on commit 9222bbe

Please sign in to comment.