From a7881ee0dbd29ad5485c7c6e238ef6a34c4dcc33 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Dec 2023 14:23:33 +0100 Subject: [PATCH] README update --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index e69de29..f0b2a5a 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,35 @@ +# Ansinterface + +# Install +## Requirement + +- You will need of course an ansible server configured, +- Flask +- Flask socketio + +If you use pip3 you can run : + + pip3 install flask flask-socketio + +or using your paquet manager (for example on Debian > 11 + + apt-get install python3-flask-socketio python3-flask + +## Configuration + +In **config.py** + +Fill the info : + - ansible_scripts : path of your playbooks folder + - default_hosts: default hosts file path + - binary : ansible binary path (use "whereis ansible-playbook" to find it) + +# Run + +python3 app.py + +and go to http://your_ip:your_port + + + +