An open API service indexing awesome lists of open source software.

https://github.com/devmyungyun/ansible-api-server

RESTful API web server that manages Ansible.
https://github.com/devmyungyun/ansible-api-server

ansible api-rest automation docker express-js nodejs-server postgresql restful-api

Last synced: 8 months ago
JSON representation

RESTful API web server that manages Ansible.

Awesome Lists containing this project

README

          

# Ansible RESTful API Server

This is RESTful API web server with Ansible. You can execute Ansible ADHOC, Playbook using this API server. If you want to give me a feedback, Please leave a comment on 'Discussions'!

*** It is very helpful and motivates me as giving me stars in my Github Repository! ***

## Getting Started

This web server for control Ansible with PostgreSQL database.

### Prerequisites
* Node.js Version v12.xx.x

OS
* Redhat or CentOS(recommand)

Solution
* Ansible

Database
* PostgreSQL

### Globally npm install

Install itmsg-automation globally

```
$ npm i itmsg_automation -g
```

start itmsg_automation web server
```
$ node {NPM_GLOBAL_INTALL_PATH}/bin/automation.js
```

NPM URL : https://www.npmjs.com/package/itmsg_automation

### Configuration

Open config.json file and edit PostgreSQL connection informations and Ansible's file path for playbooks.

### Automation Portal

You can manage itmsg_automation api server with automation web. Check out this portal if you are interested.

Automation Portal URL : [https://github.com/myungyun/itmsg_automation-web](https://github.com/myungyun/itmsg_automation-web)

### Docker Container

Also check out docker container.

itmsg_automation dockerhub URL : [https://hub.docker.com/repository/docker/jokun1178/itmsg_automation](https://hub.docker.com/repository/docker/jokun1178/itmsg_automation)