Skip to content
 
 

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnsiblePower

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.

Features

1. Homepage

  • 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

2. History

  • Displays a table of previously run playbooks with timestamps and actions

3. Settings

Hosts Management

  • View and edit /etc/ansible/hosts file
  • Displays error messages if the user lacks read/write permissions

Master Node Status

  • Displays CPU and memory usage

Clear History

  • Deletes all playbook execution history

Dark Mode Toggle

  • Switch between light and dark modes

4. User-Friendly Interface

  • Modern design with rounded buttons, smooth animations, and a responsive layout
  • Sidebar with toggle functionality for better navigation

Requirements

  • 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

image

Installation

  1. Clone the repository:
git clone https://github.com/pooyanazad/AnsiblePower.git
cd AnsiblePower
  1. Install dependencies:
pip install flask psutil
  1. Run the application:
python ansiblePower.py

Contribution rules:

https://github.com/pooyanazad/AnsiblePower/blob/main/CONTRIBUTING.md

About

Ansible playbook managment with GUI based on flask

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages