init
This commit is contained in:
commit
f0d13cd510
29 files changed
+6868
No files matched your search
@@ -0,0 +1,19 @@
|
||||
---
|
||||
# Docker configuration
|
||||
service_name: "{{ app_name }}-{{ deploy_env }}{{ env_tag }}"
|
||||
#docker_registry: "{{ ansible_env.CI_REGISTRY | default('gitlab.forlife.one') }}"
|
||||
#docker_project_path: "{{ ansible_env.CI_PROJECT_PATH | default('') }}"
|
||||
#docker_image_tag: "{{ ansible_env.CI_COMMIT_TAG | default('latest') }}"
|
||||
#docker_image_full: "{{ ansible_env.CI_REGISTRY_IMAGE }}:{ ansible_env.CI_COMMIT_TAG | default(docker_image_tag) }"
|
||||
#docker_image_name: "{{ ansible_env.CI_REGISTRY_IMAGE }}"
|
||||
docker_image_rollback: "{{ app_name }}:{{ previous_version.stdout | default('latest') }}"
|
||||
|
||||
# Directory configuration
|
||||
deploy_dir: "{{ '/home/' + server_user + '/ci/deployments/' + app_name + '/' + deploy_env }}"
|
||||
current_dir: "{{ '/home/' + server_user + '/ci/deployments/' + app_name + '/current' }}"
|
||||
|
||||
# GitLab CI integration
|
||||
#gitlab_ci_user: "{{ ansible_env.CI_REGISTRY_USER | default('gitlab-ci-token') }}"
|
||||
|
||||
# Health Check Configuration
|
||||
health_path: ""
|
||||
Reference in new issue
Block a user