ansible-doc -t connection -l | grep podman ansible-doc -t inventory -l | grep podman
play.yml
#! /usr/bin/ansible-playbook --- - name: test hosts: all connection: containers.podman.podman tasks: - name: Test command: ls -l
inventory.yml
plugin: containers.podman.podman_containers include_stopped: false #label_selectors: # role: api connection_plugin: containers.podman.podman
./plop.yml -i inventory.yml
Le conteneur doit avoir python3