Skip to content
Snippets Groups Projects
Commit 7b4af4b6 authored by Aleksandr Kurbatov's avatar Aleksandr Kurbatov
Browse files

Merge branch 'fix/p-to-pe-checks' into 'develop'

Fix/p to pe checks

See merge request !201
parents a87c0eed 763b3aaa
No related branches found
No related tags found
1 merge request!201Fix/p to pe checks
Pipeline #90870 passed
# GAP Ansible changelog # GAP Ansible changelog
1.1.20 2024-12-04
- Bugfixes in `p_to_pe_promotion` pre and post checks
1.1.19 2024-12-03 1.1.19 2024-12-03
- Added a list of roles for L3 service provisioning. - Added a list of roles for L3 service provisioning.
- `sbp` - SBP interface configuration - `sbp` - SBP interface configuration
......
...@@ -8,7 +8,7 @@ namespace: geant ...@@ -8,7 +8,7 @@ namespace: geant
name: gap_ansible name: gap_ansible
# The version of the collection. Must be compatible with semantic versioning # The version of the collection. Must be compatible with semantic versioning
version: 1.1.19 version: 1.1.20
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection # The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md readme: README.md
......
...@@ -6,5 +6,6 @@ ...@@ -6,5 +6,6 @@
display: json display: json
register: out register: out
- name: "Results of {{ item.command }}" - name: "Results of {{ item.command }}"
when: "'nokiaoper:results' in out.output['rpc-reply']"
ansible.builtin.debug: ansible.builtin.debug:
msg: "{{out.output['rpc-reply']['nokiaoper:results']['nokiaoper:md-cli-output-block'].split('\n')}}" msg: "{{out.output['rpc-reply']['nokiaoper:results']['nokiaoper:md-cli-output-block'].split('\n')}}"
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
ansible.builtin.include_tasks: deploy.yaml ansible.builtin.include_tasks: deploy.yaml
- name: PRE checks - name: PRE checks
when: verb == "post_checks" when: verb == "pre_checks"
ansible.builtin.include_tasks: command_checks.yaml ansible.builtin.include_tasks: command_checks.yaml
loop: "{{ pre_check_commands }}" loop: "{{ pre_check_commands }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment