File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
tests/integration/targets/podman_container_idempotency/tasks Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 371371 - /tmp/data:/data:U
372372 register : test24
373373
374- - name : Check test24
374+ - containers.podman.podman_container :
375+ executable : " {{ test_executable | default('podman') }}"
376+ name : test24
377+ image : alpine
378+ state : present
379+ volumes :
380+ - /tmp/data:/data:U
381+ register : test25
382+
383+ - name : Check volumes with selinux relabeling
375384 assert :
376385 that :
377386 - test24 is changed
378387 - >-
379388 (test24.container['Config']['CreateCommand'] is defined and
380389 '/tmp/data:/data:U' in test24.container['Config']['CreateCommand'] | list)
390+ - test25 is not changed
391+ - >-
392+ (test25.container['Config']['CreateCommand'] is defined and
393+ '/tmp/data:/data:U' in test25.container['Config']['CreateCommand'] | list)
381394
382395 - ansible.builtin.file :
383396 path : /tmp/data
You can’t perform that action at this time.
0 commit comments