AnsiblePower is a lightweight web interface inspired by Ansible Tower. It allows users to manage Ansible playbooks, view and edit host configurations, and monitor system performance via a modern and intuitive web interface.
- Lists available Ansible playbooks on "PLAYBOOKS_DIR" path
- Buttons to:
- Run: Executes a playbook and shows the output
- Show: Displays the content of a playbook
- Displays a table of previously run playbooks with timestamps and actions
- View and edit
/etc/ansible/hostsfile - Displays error messages if the user lacks read/write permissions
- Displays CPU and memory usage
- Deletes all playbook execution history
- Switch between light and dark modes
- Modern design with rounded buttons, smooth animations, and a responsive layout
- Sidebar with toggle functionality for better navigation
- Python 3.x
- Flask (
pip install flask) - psutil (
pip install psutil) - Ansible installed and accessible via
ansible-playbook - Replace below variables with yours in AnsiblePower.py
- Clone the repository:
git clone https://github.com/pooyanazad/AnsiblePower.git
cd AnsiblePower- Install dependencies:
pip install flask psutil- Run the application:
python ansiblePower.pyhttps://github.com/pooyanazad/AnsiblePower/blob/main/CONTRIBUTING.md
