Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare vcsim role - using podman instead of docker while pulling vcs… #24

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading