mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
21 lines
403 B
YAML
21 lines
403 B
YAML
---
|
|
- 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
|