Skip to content

Commit 9d392ad

Browse files
committed
Skip validations in edpm deploy for arch deployment
When running an architecture deployment, most of the control plane and dataplane setup are skipped in 06-edpm-deploy.yml. Instead, it all gets configured in the 06-deploy-architecture.yml playbook. This means that we need to also skip validations in the 06-epdm-deploy.yml since there is nothing to validate at this stage. We will instead fall back to the validations role execution in the architecture playbook. Signed-off-by: Brendan Shephard <[email protected]>
1 parent af8702b commit 9d392ad

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

playbooks/06-deploy-edpm.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,9 @@
159159
ansible.builtin.import_playbook: ./hooks.yml
160160

161161
- name: Validations workflow
162+
# If we're doing an architecture deployment, we need to skip validations here.
163+
# Instead, they will be executed in the 06-deploy-architecture.yml playbook.
164+
when:
165+
- cifmw_architecture_scenario is not defined
166+
- cifmw_execute_validations | default('false') | bool
162167
ansible.builtin.import_playbook: validations.yml
163-
when: cifmw_execute_validations | default('false') | bool

0 commit comments

Comments
 (0)