Deploy Platform with Ansible

This commit is contained in:
2026-08-15 21:00:18 +03:00
parent cda86ded5f
commit 1d0fa15930
3 changed files with 80 additions and 6 deletions
+8 -2
View File
@@ -1,9 +1,15 @@
---
- name: Prepare Platfom infrastructure
- name: Deploy Platform
hosts: test
become: true
gather_facts: true
roles:
- common
- docker
- docker
tasks:
- name: Deploy Platform on devops-test
ansible.builtin.include_role:
name: platform
when: inventory_hostname == "devops-test"