Task work space for Ansible runner.
932
Author tryed to separate Ansible Runner and Ansible workspace following micro service design to simplify each container when develop batch task like deployment job. However, author felt only a quite few benifit:
Ansible is also useful for creating something like batch process and little bit more maintainable than other setup tools like Shell Script. Ansible Runner is suitable for this purpose. However, when it needs to set up more tools, Ansible Runner image is based on CentOS, and there are already much tools and libraries in image. It's better to isolate image between Ansible and workspace.
This container is intended to work with The image is purposefully light-weight and only containing the dependencies necessary to be connected by Ansible. It’s intended to be overridden.
---
version: '3.2'
services:
operator:
container_name: operator
depends_on:
- workdir
environment:
RUNNER_PLAYBOOK: playbook.yml
ANSIBLE_SSH_PASS: p@ssW0rd
image: ansible/ansible-runner
workdir:
container_name: workdir
environment:
SSH_PASSWORD: p@ssW0rd
image: futureys/ansible-workspace
Content type
Image
Digest
Size
39 MB
Last updated
almost 7 years ago
docker pull futureys/ansible-workspace