[Ubuntu] Update ansible-base to ansible-core (#3711)

Update ansible-base 2.10 to ansible-core 2.11 for Ubuntu images
This commit is contained in:
Aleksandr Chebotov
2021-07-14 12:23:24 +03:00
committed by GitHub
parent e139c6d581
commit 8aac9e60c0
4 changed files with 7 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
function Get-AnsibleVersion {
$ansibleVersion = ansible --version | Select-Object -First 1 | Take-OutputPart -Part 1
$ansibleVersion = (ansible --version)[0] -replace "[^\d.]"
return "Ansible $ansibleVersion"
}