Skip to content

Commit

Permalink
prepare vcsim role - using podman instead of docker while pulling vcs…
Browse files Browse the repository at this point in the history
…im image
  • Loading branch information
bardielle authored and machacekondra committed May 21, 2024
1 parent a54d1e9 commit 2ed2e5a
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions tests/integration/targets/prepare_vcsim/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@
- name: Install dependencies
ansible.builtin.pip:
name:
- pyvmomi
- requests
- pyVmomi

- name: Run vcsim
community.docker.docker_container:
name: vcsim
image: vmware/vcsim
- name: Run soap vcSim
containers.podman.podman_container:
name: vmwaresoap

image: docker.io/vmware/vcsim:latest
state: started
recreate: yes
exposed_ports:
expose:
- 8989
ports:
- 8989:8989

- name: Pause for 5 sec to start vcsim
- name: Pause
ansible.builtin.pause:
seconds: 5
seconds: 10

0 comments on commit 2ed2e5a

Please sign in to comment.