Simple web interface for running Ansible playbooks
9.2K
This is docker image for nci ansible ui which contains all dependencies including ansible.
Please note that images with "-alphaimage" postfix aren't stable and provided for testing (not production use) purposes.
docker run --rm -it -p 3000:3000 okvd/nci-ansible-ui
That's all, now you can experiment with it by adding/changing projects, use web interface (on http://127.0.0.1:3000 by default) for run playbooks.
Sample project works with repository which contains sample playbooks (some ping, ps ax and other read commands) and inventory. Inventory defines localhost as target host with following settings:
ansible_host: 127.0.0.1
ansible_user: ansible
ansible_ssh_private_key_file: ~/.ssh/id_rsa_test
Config for nci-ansible-ui, ssh keys, known_hosts, UID and GID for runtime user could be passed as follows:
docker run --rm -it -p 3000:3000 -e UID=`id -u` -e GID=`id -g` \
-v $PWD/data:/var/nci-ansible-ui/data \
-v $HOME/.ssh/id_rsa_test:/home/nci-ansible-ui/.ssh/id_rsa_test \
-v $HOME/.ssh/known_hosts:/home/nci-ansible-ui/.ssh/known_hosts \
okvd/nci-ansible-ui
Content type
Image
Digest
Size
74.4 MB
Last updated
almost 6 years ago
Requires Docker Desktop 4.37.1 or later.