Installs WebGME - Webgme Github.
This role supports only Ubuntu Linux. Feel free to extend it to other platforms.
MongoDB:
mongodb_conf_bind_ip
- Bind ip for mongodbmongodb_conf_dbpath
- Path to DB data filesmongodb_conf_port
- Mongo portmongodb_user
- Mongo usermongodb_version
- Version
WebGME:
webgme_app_name
- Name of the applicationwebgme_node_version
- Node.js version to usewebgme_nvm_version
- nvm version to use
webgme_flavor.git_repo_url
- The URL for the git repository where the flavor code resideswebgme_flavor.git_repo_branch
- Which branch to clonewebgme_flavor.git_repo_key
[optional] - The path to the private key (on local machine, it is copied to remote host)
IMPORTANT: In case you use webgme_flavor.git_repo_key
it must NOT have a passphrase, otherwise won't work.
An example playbook that installs all dependencies and starts running the finite-state-machine
flavor:
- hosts: all
roles:
- role: ansible-role-webgme
vars:
webgme_flavor:
git_repo_url: "https://github.com/webgme/finite-state-machine.git"
git_repo_branch: HEAD
MIT