Fixed error with duplicate host names and added tags

This commit is contained in:
2023-08-17 22:43:41 +02:00
parent 5b4f99023b
commit 8747a76ef8
18 changed files with 94 additions and 64 deletions
+9 -3
View File
@@ -11,12 +11,19 @@
remote_user: "{{ ssh_user }}"
roles:
- frontend
- name: Set up devops server
hosts: ci
remote_user: "{{ ssh_user }}"
roles:
- apache
- letsencrypt
- docker
- name: Set up Drone
hosts: ci
gather_facts: false
become: true
become_method: ansible.builtin.sudo
remote_user: "{{ ssh_user }}"
tags: drone
roles:
- drone
- name: Set up Gitea
@@ -27,7 +34,6 @@
- gitea
- name: Set up application server
hosts: applications
gather_facts: false
become: true
become_method: ansible.builtin.sudo
remote_user: "{{ ssh_user }}"
@@ -39,9 +45,9 @@
- kafka
- name: Set up Spring Boot applications
hosts: applications
gather_facts: false
become: true
become_method: ansible.builtin.sudo
remote_user: "{{ ssh_user }}"
tags: springBoot
roles:
- spring_boot