diff --git a/geant/gap_ansible/CHANGELOG.md b/geant/gap_ansible/CHANGELOG.md index 13e8e952bf6b15bb58f7d70982726cb81886bc47..e3a3177e191f3343d7a410a3fae4880ba2c024c6 100644 --- a/geant/gap_ansible/CHANGELOG.md +++ b/geant/gap_ansible/CHANGELOG.md @@ -1,4 +1,7 @@ # 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 - Added a list of roles for L3 service provisioning. - `sbp` - SBP interface configuration diff --git a/geant/gap_ansible/galaxy.yml b/geant/gap_ansible/galaxy.yml index 926db3541a14bfabe7f496ad571b878e8b7227ad..f2e294b5ed4988716bb56268de5a9286b4e02650 100644 --- a/geant/gap_ansible/galaxy.yml +++ b/geant/gap_ansible/galaxy.yml @@ -8,7 +8,7 @@ namespace: geant name: gap_ansible # 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 readme: README.md diff --git a/geant/gap_ansible/roles/promote_p_to_pe/tasks/command_checks.yaml b/geant/gap_ansible/roles/promote_p_to_pe/tasks/command_checks.yaml index 4d95f8c4f566ebfe0798c217799099597cde1a42..06ad86e9a6cf5e326d6b3e41534f5e056e28c7d9 100644 --- a/geant/gap_ansible/roles/promote_p_to_pe/tasks/command_checks.yaml +++ b/geant/gap_ansible/roles/promote_p_to_pe/tasks/command_checks.yaml @@ -6,5 +6,6 @@ display: json register: out - name: "Results of {{ item.command }}" + when: "'nokiaoper:results' in out.output['rpc-reply']" ansible.builtin.debug: msg: "{{out.output['rpc-reply']['nokiaoper:results']['nokiaoper:md-cli-output-block'].split('\n')}}" diff --git a/geant/gap_ansible/roles/promote_p_to_pe/tasks/main.yml b/geant/gap_ansible/roles/promote_p_to_pe/tasks/main.yml index 16eabc11b5ff4ce56024a3238b4b58bb99ed04a3..4a68aacc94b4672ef2b09b525d9745c53508a12c 100644 --- a/geant/gap_ansible/roles/promote_p_to_pe/tasks/main.yml +++ b/geant/gap_ansible/roles/promote_p_to_pe/tasks/main.yml @@ -57,7 +57,7 @@ ansible.builtin.include_tasks: deploy.yaml - name: PRE checks - when: verb == "post_checks" + when: verb == "pre_checks" ansible.builtin.include_tasks: command_checks.yaml loop: "{{ pre_check_commands }}"