Fix the prechecks for the ansible version
Change-Id: I7005a7ce15fa91df2c1e54569a80d7085e99e24e Partial-Implements: blueprint ansible2
This commit is contained in:
parent
c31688be36
commit
3b1b6abf5b
2
.gitignore
vendored
2
.gitignore
vendored
@ -44,7 +44,7 @@ dev/vagrant/storage/
|
||||
releasenotes/build
|
||||
|
||||
# Files generated by Ansible
|
||||
ansible/site.retry
|
||||
ansible/*.retry
|
||||
|
||||
# Others
|
||||
.DS_Store
|
||||
|
@ -10,7 +10,7 @@
|
||||
local_action: command ansible --version
|
||||
register: result
|
||||
changed_when: false
|
||||
failed_when: result.stdout | regex_replace('ansible (\\d+\\.\\d+\\.\\d+)', '\\1') | version_compare(ansible_version_max, '>=')
|
||||
failed_when: result.stdout | regex_replace('ansible (\\d+\\.\\d+\\.\\d+)', '\\1') | version_compare(ansible_version_min, '<')
|
||||
|
||||
# If this fails run "apt-get install linux-image-generic-lts-wily"
|
||||
- name: Checking LTS wily kernel version 4.2 on Ubuntu 14.04
|
||||
|
@ -1,4 +1,4 @@
|
||||
docker_version_min: '1.10.0'
|
||||
docker_py_version_min: '1.6.0'
|
||||
ansible_version_max: '2.0.0'
|
||||
ansible_version_min: '2.0.0'
|
||||
ubuntu_kernel_version_min: '4.2'
|
||||
|
Loading…
Reference in New Issue
Block a user