https://github.com/deployable/node-ansible-express
Ansible API on Express
https://github.com/deployable/node-ansible-express
Last synced: 8 months ago
JSON representation
Ansible API on Express
- Host: GitHub
- URL: https://github.com/deployable/node-ansible-express
- Owner: deployable
- Created: 2015-10-17T05:54:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-18T10:57:46.000Z (over 10 years ago)
- Last Synced: 2025-02-09T20:27:48.195Z (about 1 year ago)
- Language: CoffeeScript
- Size: 262 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node Ansible Express API
An express based http api to configure and run ansible plays. Based on the node-ansible module
To install from `git`
git clone https://github.com/deployable/node-ansible-express#current
To install from `npm`
npm install node-ansible-express
To get the `npm install`ed module into the top directory
cp -r node_modules/node-ansible-express ./
rm node_modules/node-ansible-express
## Running the app
node app.js
### Running the coffescript app for development
The coffee script source can be run directly if you have the source from git
node appcoffee.js
## App config
The application config file is in `app/config.json`
- `http.port` The port the server listens on
- `http.address` The address the server listens on
### Git app config
From `git`, the application only comes with a default config file `app/config.json.default`
This needs to be copied to `app/config.json` as your local running config. Your running config will not be checked back into git.
$ cp app/config.json.default app/config.json
$ vi app/config.json