Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail UX2.0 playbooks if vmanage version is lower than required #29

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ mock_roles:
- cisco.catalystwan.sync_pnp_edges
- cisco.catalystwan.activate_edges
- cisco.catalystwan.vmanage_mode
- cisco.catalystwan.vmanage_version
- cisco.catalystwan.health_checks
- cisco.catalystwan.config_groups
- cisco.catalystwan.feature_profile_builder
Expand Down
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace: cisco
name: sdwan
version: 0.3.4
version: 0.3.5
readme: README.md
authors:
- Arkadiusz Cichon <acichon@cisco.com>
Expand Down
15 changes: 12 additions & 3 deletions playbooks/aws/ux2_full_deploy_and_configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,26 @@


# Attach templates with running-config for all devices
- name: Set vmanage mode for all devices
- name: Set vmanage mode for controllers
hosts: localhost
gather_facts: false
vars_files:
- ./dev_config_aws.yml
- "{{ results_path_controllers }}"
vars:
edge_instances: "{{ deployed_edge_instances }}"
roles:
- cisco.catalystwan.vmanage_mode

- name: Check if vManage version matches requirements
hosts: localhost
gather_facts: false
vars_files:
- ./dev_config_aws.yml
- "{{ results_path_controllers }}"
vars:
min_version_required: "20.13.1"
roles:
- cisco.catalystwan.vmanage_version

- name: Build feature profile data
hosts: localhost
gather_facts: false
Expand Down
11 changes: 11 additions & 0 deletions playbooks/azure/ux2_full_deploy_and_configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,17 @@
roles:
- cisco.catalystwan.feature_profile_builder

- name: Check if vManage version matches requirements
hosts: localhost
gather_facts: false
vars_files:
- ./azure_sdwan_config.yml
- "{{ results_path_controllers }}"
vars:
min_version_required: "20.13.1"
roles:
- cisco.catalystwan.vmanage_version

- name: Create Config Groups
hosts: localhost
gather_facts: false
Expand Down
2 changes: 1 addition & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ collections:
- name: azure.azcollection
version: 1.19.0
- name: cisco.catalystwan
version: 0.3.1
version: 0.3.2
- name: cisco.sdwan_deployment
version: 0.3.3