Automatic Ansible Hosts file management server
Sabi. Simple, Lightweight, but Not Beautiful.
Automatic Ansible Hosts file management server
apt install python3 python3-pip
pip3 install flask gunicorn
wget https://raw.githubusercontent.com/sabi/sabi/main/sabi.py
sudo python3 antsible.py install
gunicorn --bind 0.0.0.0:11110 -w 4 server.py
ants host group1 group2
curl http://your_ansible_master_ip:11110/ansible_category/hostname_of_new_node
curl http://your_ansible_master_ip:11110/$1/$2
to your installation scripts so that you can keep your hosts file up to date as you build new servers.