Deploy request module with Ansible

This commit is contained in:
2026-08-15 22:19:33 +03:00
parent 711e773779
commit ce8fd3f6f9
2 changed files with 80 additions and 2 deletions
+7 -2
View File
@@ -1,5 +1,5 @@
---
- name: Deploy Platform
- name: Deploy Platform infrastructure
hosts: test
become: true
gather_facts: true
@@ -12,4 +12,9 @@
- name: Deploy Platform on devops-test
ansible.builtin.include_role:
name: platform
when: inventory_hostname == "devops-test"
when: "'platform' in group_names"
- name: Deploy Request Module on devops-test2
ansible.builtin.include_role:
name: request_module
when: "'request_module' in group_names"