https://github.com/intesys/generator-jhipster-ansible
A Jhipster module to generate an Ansible deployment workspace
https://github.com/intesys/generator-jhipster-ansible
ansible jhipster
Last synced: 3 months ago
JSON representation
A Jhipster module to generate an Ansible deployment workspace
- Host: GitHub
- URL: https://github.com/intesys/generator-jhipster-ansible
- Owner: intesys
- License: apache-2.0
- Created: 2020-01-24T17:02:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T19:32:25.000Z (almost 3 years ago)
- Last Synced: 2024-10-30T13:12:26.976Z (11 months ago)
- Topics: ansible, jhipster
- Language: JavaScript
- Size: 1.89 MB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# generator-jhipster-ansible
[![NPM version][npm-image]][npm-url] [![Build Status][github-actions-image]][github-actions-url] [![Dependency Status][daviddm-image]][daviddm-url]
> A Jhipster module to generate an [Ansible](https://www.ansible.com/) deployment workspace.
# Introduction
This is a [JHipster](https://www.jhipster.tech/) module, that is meant to be used in a JHipster application.
This module will generate all the files to deploy you Jhipster executable jar in your multi stage environment via Ansible.
# Prerequisites
As this is a [JHipster](https://www.jhipster.tech/) module, we expect you have JHipster and its related tools already installed:
- [Installing JHipster](https://www.jhipster.tech/installation/)
# Installation
## With NPM
To install this module:
```bash
npm install -g generator-jhipster-ansible
```To update this module:
```bash
npm update -g generator-jhipster-ansible
```## With Yarn
To install this module:
```bash
yarn global add generator-jhipster-ansible
```To update this module:
```bash
yarn global upgrade generator-jhipster-ansible
```# Usage
In your jhipster workspace:
```bash
yo jhipster-ansible
? *Ansible Directory*: Enter the ansible workspace directory ./ansible
? *Maven*: what is the URL of distributionManagement for snapshots ? http://artifactory:8081/artifactory/libs-snapshot
? *Maven*: what is the URL of distributionManagement for releases ? http://artifactory:8081/artifactory/libs-release
? *Enviroments*: which enviroments do you want to deploy to (comma separated) ? test,staging,prod
? *SSH User*: 'what is the ssh user you will use to deploy (not mandatory)) ? myuser
```# Dependencies
- https://github.com/orachide/ansible-role-springboot
# License
Apache-2.0 © [Intesys SRL](https://www.intesys.it)
[npm-image]: https://img.shields.io/npm/v/generator-jhipster-ansible.svg
[npm-url]: https://npmjs.org/package/generator-jhipster-ansible
[github-actions-image]: https://github.com/intesys/generator-jhipster-ansible/workflows/Build/badge.svg
[github-actions-url]: https://github.com/intesys/generator-jhipster-ansible/actions
[daviddm-image]: https://david-dm.org/intesys/generator-jhipster-ansible.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/intesys/generator-jhipster-ansible