Actions
Task #2865
closedMove Ansible version check back into a pretask
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Dev Environment
Sprint:
Quarter:
Description
The code that checks for Ansible version is here:
https://github.com/pulp/devel/blob/3.0-dev/ansible/roles/common/tasks/main.yml#L1
Unfortunately, it will have already failed with syntax errors before that code can run. This should be run as a pre-task in the playbook. Bonus points if the same pretask can be used by multiple playbooks.
Updated by amacdona@redhat.com over 7 years ago
When this works, we will be enforicing Ansible >= 2.2. We should either bump to 2.3 or change this line:
https://github.com/pulp/devel/blob/3.0-dev/ansible/roles/common/tasks/main.yml#L36
`path` is new in 2.3. `dest` is backwards compatible.
Updated by amacdona@redhat.com about 6 years ago
- Status changed from NEW to CLOSED - WONTFIX
pulp/devel ansible roles are deprecated in favor of ansible-pulp3. In that repo, min_ansible_version is set in the meta of each role.
Actions