mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Removed strict dependencies of role and added deploy playbook
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy Spring applications
|
||||||
|
hosts: applications
|
||||||
|
gather_facts: false
|
||||||
|
become: true
|
||||||
|
become_method: ansible.builtin.sudo
|
||||||
|
remote_user: "{{ ssh_user }}"
|
||||||
|
roles:
|
||||||
|
- spring_boot
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
# Spring Boot role
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
These dependencies are not explicitly configured to allow
|
||||||
|
usage of role for deployment scenarios where server state
|
||||||
|
itself is predictable and stable.
|
||||||
|
|
||||||
|
- nginx
|
||||||
|
- letsencrypt
|
||||||
|
- docker
|
||||||
|
|
||||||
|
#### Optional
|
||||||
|
|
||||||
|
If the Spring application uses Kafka, the kafka
|
||||||
|
role has to be used in a play before this role
|
||||||
|
is used.
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
dependencies:
|
|
||||||
- role: docker
|
|
||||||
- role: letsencrypt
|
|
||||||
- role: nginx
|
|
||||||
- role: kafka
|
|
||||||
Reference in New Issue
Block a user