Public Repository

Last pushed: 10 months ago
Short Description
CentOS based Ansible container.
Full Description

image base: CentOS 7
ansible version: 2.3.2

run container in the background

current directory mounted within the container
docker run -itd --name ansible -h ansible_container -v $PWD:/home packetferret/ansible

execute a playbook from host

docker exec -it ansible ansible-playbook bind_server_build.yml

connect to the container

docker exec -it ansible_container /bin/bash

execute a playbook within the container

ansible-playbook update_records.yml

Docker Pull Command