We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9df95a2 commit b357829Copy full SHA for b357829
plugins/provisioners/ansible/provisioner/base.rb
@@ -393,7 +393,7 @@ def set_gathered_ansible_version(stdout_output)
393
_, @gathered_version, _ = ansible_version_pattern.captures
394
@gathered_version.strip!
395
if @gathered_version
396
- @gathered_version_major = @gathered_version.match(/(\d)\..+$/).captures[0].to_i
+ @gathered_version_major = @gathered_version.match(/(\d+)\..+$/).captures[0].to_i
397
end
398
399
0 commit comments