commit fc351685772ec20749724deb41e95b115840f204
Author: Dmitriy Rabotyagov <email address hidden>
Date: Sun Feb 11 17:36:15 2024 +0100
Evaluate my_ip address once
Instead of evaluating same condition of my_ip in multiple places across
the role this patch suggests doing this once in vars and using the
resulting variable afterwards.
This not only reduce amount of evaluations made throughout the role runtime,
but also solves possible corner cases where some syntax may go off.
Closes-Bug: #2052884
Change-Id: I454b53713ecacf844ac14f77b6d1e1adc1322c0e
(cherry picked from commit b78e8a68ea9f20e1220847ccae8e73604ee50ab7)
Reviewed: https:/ /review. opendev. org/c/openstack /openstack- ansible- os_nova/ +/908698 /opendev. org/openstack/ openstack- ansible- os_nova/ commit/ fc351685772ec20 749724deb41e95b 115840f204
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.2
commit fc351685772ec20 749724deb41e95b 115840f204
Author: Dmitriy Rabotyagov <email address hidden>
Date: Sun Feb 11 17:36:15 2024 +0100
Evaluate my_ip address once
Instead of evaluating same condition of my_ip in multiple places across
the role this patch suggests doing this once in vars and using the
resulting variable afterwards.
This not only reduce amount of evaluations made throughout the role runtime,
but also solves possible corner cases where some syntax may go off.
Closes-Bug: #2052884 844ac14f77b6d1e 1adc1322c0e 1220847ccae8e73 604ee50ab7)
Change-Id: I454b53713ecacf
(cherry picked from commit b78e8a68ea9f20e