Sign inSign up

senaranya/ansible

By senaranya

•Updated over 6 years ago

Image
0

222

senaranya/ansible repository overview

Lint status

A lightweight Docker container with pre-installed Ansible and related toolset

⁠Description

This image provides all core Ansible tools (e.g., ansible, ansible-playbook, ansible-doc, ansible-galaxy etc.), Linter ansible-lint and Ansible Molecule in an ready-to-use container.

⁠To use:
docker run -t -v "${PWD}":"${PWD}" -w="${PWD}" senaranya/ansible ansible-playbook -i inventory playbook.yml
  • -t: to output in colors. Not required for use in CI pipelines
  • -v "${PWD}":"${PWD}" -w="${PWD}": Ensures path in container is same as current path on host. Without this, paths hard-coded in Ansible config will fail as it'll be different in the container

Tag summary

Content type

Image

Digest

Size

72.2 MB

Last updated

over 6 years ago

docker pull senaranya/ansible