Sign inSign up

pinterb/ansible

By pinterb

•Updated over 9 years ago

Image
2

3.1K

pinterb/ansible repository overview

⁠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

Tag summary

Content type

Image

Digest

sha256:dd780785b…

Size

124.1 MB

Last updated

over 9 years ago

docker pull pinterb/ansible