Public | Automated Build

Last pushed: 6 months ago
Short Description
Short description is empty for this repo.
Full Description

pinterb/ansible

pinterb/ansible is a docker image that bundles the following:

  • Ansible 2.1.0.0: A radically simple IT automation system. It handles configuration-management, application deployment, cloud provisioning, ad-hoc task-execution, and multinode orchestration - including trivializing things like zero downtime rolling updates with load balancers. Ansible is written in Python.

Details

  • The container runs as "dev" user (i.e. UID 1000). Please keep this in mind as you mount volumes!
  • The following volumes exist (and are owned by dev):
    • /data
    • /ops
    • /state
    • /ansible
    • /home/dev/.ssh
  • /ansible is your default workdir. Knowing this will be helpful when you're mounting your playbooks for execution.
  • /home/dev is $HOME
  • The entrypoint for this image is /opt/ansible/bin/ansible-playbook. This should be sufficient for most use cases.

Usage

This image can easily be extended. But to run your Ansible playbooks:

docker run -it --rm \
    -v $(SSH_DIR):/home/dev/.ssh \
    -v $(CURRENT_DIR):/state:rw \
    -v $(PLAYBOOK_DIR):/ansible:rw \
    pinterb/ansible:2.1.0.0 site.yml

Misc. Info

  • Latest version: 2.1.0.0
  • Built on: 2016-11-28T15:42:49Z
  • Base image: pinterb/base:alpine (dockerfile)
  • Dockerfile
Docker Pull Command
Owner
pinterb
Source Repository

Comments (0)