Skip to content

Commit

Permalink
Skip validations in edpm deploy for arch deployment
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
bshephar committed Jun 5, 2024
1 parent af8702b commit 9d392ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion playbooks/06-deploy-edpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,9 @@
ansible.builtin.import_playbook: ./hooks.yml

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

0 comments on commit 9d392ad

Please sign in to comment.