mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Added kafka and springBoot roles, minor cleanup, and use ansible-vault to hide sensitive data
This commit is contained in:
@@ -1,6 +1,20 @@
|
||||
---
|
||||
- name: Create server
|
||||
hosts: setup
|
||||
gather_facts: false
|
||||
roles:
|
||||
- server_setup
|
||||
- name: Set up domain
|
||||
hosts: frontend
|
||||
gather_facts: false
|
||||
remote_user: "{{ ssh_user }}"
|
||||
roles:
|
||||
- frontend
|
||||
- name: Set up Spring Boot applications
|
||||
hosts: springBoot
|
||||
gather_facts: false
|
||||
become: true
|
||||
become_method: ansible.builtin.sudo
|
||||
remote_user: "{{ ssh_user }}"
|
||||
roles:
|
||||
- spring_boot
|
||||
|
||||
Reference in New Issue
Block a user