Deploy Platform with Ansible
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user