aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2023-06-07 00:29:18 -0400
committerspmfox <spmfox@foxwd.com>2023-06-07 00:29:18 -0400
commit4020f454e13e16afcb81dad9857992ea9bf84a99 (patch)
tree98b6abd2903fe49247474a14aab3845cc0b81570 /README.md
parent9d54971b20be5bf89a4ca0dc6d1e92f8519e5151 (diff)
Initial commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md40
1 files changed, 39 insertions, 1 deletions
diff --git a/README.md b/README.md
index cf5a3d8..b3acc83 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,39 @@
-# EnigmaAnsible \ No newline at end of file
+# AnsiblePilot
+
+Cockpit plugin to run Ansible playbooks inside Podman containers.
+
+![AnsiblePilot](docs/images/logo.png)
+
+This cockpit plugin gives the ability to run Ansible playbooks in (or not) a Podman container.
+The idea was to get some of the features of AWX but none of the bloat.
+
+## Installation
+- Use the included Ansible playbook to install: ```ansible-playbook install-plugin.yml```
+- OR - copy the ```AnsiblePilotPlugin``` directory to ```/usr/share/cockpit/AnsiblePilotPluguin```
+
+## Usage
+![Screenshot](docs/images/screenshot.png)
+
+## Requirements
+- Cockpit
+- Podman (optional if not using containers)
+- Ansible (optional if only running playbooks in containers)
+
+## Assumptions
+- Looks for .yml or .yaml files in ```/opt/playbooks```
+ - Gives the option to change this directory for the current run
+ - Can be changed permanently by changing the code
+- Looks for container images that have the label ```ansible_execution_environment```
+ - That means you have to build your own image and bake that label in
+ - This gives the flexibility to assign any mounts/ports/etc you need
+ - Sample containerfile, using AlmaLinux 9 and /opt/playbooks for a mount can be found in ```docs/ansible_execution_environment```
+- Gives the ability to add extra Ansible parameters at run-time with or without using containers
+
+## Usage Video
+![UsageVideo](docs/images/usage.gif)
+
+## Architecture
+This plugin was built using the [Cockpit Starter Kit](https://github.com/cockpit-project/starter-kit) project.
+To build your own, the files in ```src``` must be put into the corresponding folder within the starter-kit.
+The plugin itself then is generated using a ```make``` command in the starter-kit directory.
+More details on this process are on the starter-kit project page.