Public | Automated Build

Last pushed: 2 months ago
Short Description
Ansible Docker Runner
Full Description

Description

Used to test Ansible playbooks and roles.

How to use

Map your ansible playbook or role folder into /runner and pass command to container.

Examples

Command line

docker run -it --rm  -v `pwd`:/runner \
   fabiohbarbosa/ansible-runner:ubuntu-17.04-zesty \
   ansible-playbook -i inventory test.yml

Docker Compose

version: '3'
services:
  ansible-runner:
    image: fabiohbarbosa/ansible-runner:ubuntu-17.04-zesty
    container_name: ansible-runner
    command: ansible-playbook -i inventory test.yml
    volumes:
      - ./:/runner
Docker Pull Command
Owner
fabiohbarbosa

Comments (0)