mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
Using requirements.yml file to install ansible roles
This commit is contained in:
parent
c1ce104cf8
commit
0c86a0caa0
3 changed files with 8 additions and 3 deletions
|
@ -21,8 +21,7 @@ install:
|
||||||
- pip install boto3
|
- pip install boto3
|
||||||
- pip install troposphere
|
- pip install troposphere
|
||||||
- printf '[defaults]\nroles_path=../' >ansible.cfg
|
- printf '[defaults]\nroles_path=../' >ansible.cfg
|
||||||
- ansible-galaxy install -p ../ fiunchinho.wimpy,feature/decouple_role
|
- ansible-galaxy install -p ../ -r deploy/requirements.yml
|
||||||
- ansible-galaxy install -p ../ fiunchinho.wimpy.build
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./mvnw package
|
- ./mvnw package
|
||||||
|
|
|
@ -18,4 +18,4 @@
|
||||||
healthy_threshold: 3
|
healthy_threshold: 3
|
||||||
roles:
|
roles:
|
||||||
- role: wimpy.build
|
- role: wimpy.build
|
||||||
- role: fiunchinho.wimpy
|
- role: wimpy.deploy
|
||||||
|
|
6
deploy/requirements.yml
Normal file
6
deploy/requirements.yml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
- src: https://github.com/fiunchinho/wimpy.build
|
||||||
|
name: wimpy.build
|
||||||
|
|
||||||
|
- src: https://github.com/fiunchinho/wimpy
|
||||||
|
version: feature/decouple_role
|
||||||
|
name: wimpy.deploy
|
Loading…
Reference in a new issue