generated from CC/VMServiceTemplate
ci/cd roles
This commit is contained in:
17
ansible/playbooks/roles/docker/tasks/main.yml
Normal file
17
ansible/playbooks/roles/docker/tasks/main.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
- name: Docker Install
|
||||
include_tasks: docker_install.yml
|
||||
when: config_flavor == "install"
|
||||
|
||||
- name: Docker Stop & Destroy
|
||||
include_tasks: docker_destroy.yml
|
||||
when: config_flavor == "destroy"
|
||||
|
||||
|
||||
- name: Docker Transfer Compose to Remote Host
|
||||
include_tasks: docker_copy.yml
|
||||
when: config_flavor == "copy"
|
||||
|
||||
#####
|
||||
# You need to set up each docker playbook to a config flavor or look for an input module and assign config_flavor to it
|
||||
######
|
||||
Reference in New Issue
Block a user