ci: remove duplicated code for azure

23 jobs for slb/dperez50/improve-ci-cd-pipeline-inherit-ibm in 12 minutes and 11 seconds (queued for 2 seconds)