community / community.general / 0.1.1 / connection / docker Run tasks in docker containers Authors: Lorin Hochestein, Leendert Brouwercommunity.general.docker (0.1.1) — connection
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Run commands or put/fetch files to an existing docker container.
remote_addr: default: inventory_hostname description: - The name of the container you want to access. vars: - name: ansible_host - name: ansible_docker_host remote_user: description: - The user to execute as inside the container vars: - name: ansible_user - name: ansible_docker_user docker_extra_args: default: '' description: - Extra arguments to pass to the docker command line