Thanks to justsomescripts for the initial setup!
This project provides container images for Ansible Execution Environments based on Alpine Linux.
Advantages compared to the official EEs built using ansible-builder:
- Non-root user context
- Simpler Containerfile
- Small Container image
- Easy to use without ansible-runner
- Easy to tweak what pip packages and collections you want to include
If you still need to install ansible-navigator:
pip3 install 'ansible-navigator' --break-system-packages && pip3 uninstall 'ansible-core' --break-system-package -y
ansible-navigator collections -m interactive # Our ansible-navigator.yml uses stdout mode by default
Generally make a hosts file to a remote host you already have ssh'd into and also setup an example playbook where you use the ping module. Run it with: ansible-navigator run test-playbook.yml
and enjoy the output!
See the ansible-navigator.yml file! It's configured that you can use your own private keys and accepted fingerprints from your host easily and not leave logging/artefacts behind.
Through GitHub only please :)