Install Docker With Ansible
stopblog.katapultashop.us › install-docker-withDec 25, 2021 · It is an Ansible role to: Install Docker (editions, channels and version pinning are all supported) Install Docker Compose using PIP (version pinning is supported) Install the docker PIP package so Ansible's docker. modules work. Manage Docker registry login credentials. Configure 1 or more users to run Docker without needing root access.
Ansible Galaxy
galaxy.ansible.com › community › dockeransible-galaxy collection install community.docker. You can also include it in a requirements.yml file and install it via ansible-galaxy collection install -r requirements.yml using the format: collections: - name: community.docker. See Ansible Using collections for more details.
How to install ansible-galaxy roles in docker? : ansible
www.reddit.com › r › ansibleI tried to install it in Dockerfile. COPY requirements.yml /home/ansible/requirements.yml RUN ansible-galaxy install -r /home/ansible/requirements.yml. I start docker with docker-compose. The config file is. version: "3.8" services: ansible: build: context: ./ansible dockerfile: Dockerfile image: ansible container_name: ansible hostname: ansible #command: ['/bin/bash', '-c', 'ansible-galaxy install -r ./playbook/requirements.yml'] tty: true volumes: - ./playbook:/ansible.