mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
23becece53
* new connection plugin: podman Signed-off-by: Tomas Tomecek <ttomecek@redhat.com> * podman,conn: utilize remote_user to run commands Signed-off-by: Tomas Tomecek <ttomecek@redhat.com> * podman connection: update docs Co-Authored-By: TomasTomecek <ttomecek@redhat.com>
15 lines
460 B
Text
15 lines
460 B
Text
[podman]
|
|
podman-container
|
|
[podman:vars]
|
|
# 1. install podman
|
|
# 2. create container:
|
|
# podman pull python:3-alpine
|
|
# podman run -d --name podman-container python:3-alpine sleep 999999
|
|
# 3. run test:
|
|
# ./bin/ansible-test integration connection_podman
|
|
# 6. remove container
|
|
# podman stop podman-container
|
|
# podman rm podman-container
|
|
ansible_host=podman-container
|
|
ansible_connection=podman
|
|
ansible_python_interpreter=/usr/local/bin/python
|