-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdeploy_without_migration.yml
More file actions
32 lines (29 loc) · 1.04 KB
/
deploy_without_migration.yml
File metadata and controls
32 lines (29 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
- name: Deploy obs-api package
hosts: obs
vars:
skip_local_rpm_check: false
pre_tasks:
- include_tasks: ./includes/pending-migration.yml
- include_tasks: ./includes/deployment-block.yml
- include_tasks: ./includes/check-local-changes.yml
- name: zypper unlock
block:
- include_tasks: ./includes/zypper-unlock.yml
when: deployment_allowed is succeeded and no_pending_migration is succeeded
tasks:
- name: Without Migration
block:
- include_role:
name: refresh_repositories
- include_role:
name: deploy
- include_role:
name: enable_flipper_features_for_group
when: deployment_allowed is succeeded and no_pending_migration is succeeded
post_tasks:
- name: post tasks
block:
- include_tasks: ./includes/zypper-lock.yml
- include_tasks: ./includes/github-deployment.yml
when: deployment_allowed is succeeded and no_pending_migration is succeeded