mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Implemented presentation
This commit is contained in:
28
roles/docker-presentation/tasks/main.yml
Normal file
28
roles/docker-presentation/tasks/main.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
# Docker Routines
|
||||
- name: "include docker-compose role"
|
||||
include_role:
|
||||
name: docker-compose
|
||||
|
||||
- name: install cymais-presentation
|
||||
command:
|
||||
cmd: "pkgmgr install cymais-presentation --clone-mode https"
|
||||
notify: docker compose project build and setup
|
||||
|
||||
- name: Get path of cymais-presentation using pkgmgr
|
||||
command: pkgmgr path cymais-presentation
|
||||
register: path_cymais_presentation_output
|
||||
|
||||
- name: Get path of cymais using pkgmgr
|
||||
command: pkgmgr path cymais
|
||||
register: path_cymais_output
|
||||
|
||||
- name: "include role nginx-domain-setup for {{application_id}}"
|
||||
include_role:
|
||||
name: nginx-domain-setup
|
||||
vars:
|
||||
domain: "{{ domains[application_id] }}"
|
||||
http_port: "{{ ports.localhost.http[application_id] }}"
|
||||
|
||||
- name: "copy docker-compose.yml and env file"
|
||||
include_tasks: copy-docker-compose-and-env.yml
|
Reference in New Issue
Block a user