Task #2865
Move Ansible version check back into a pretask
0%
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.
History
#1
Updated by amacdona@redhat.com over 3 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.
#2
Updated by amacdona@redhat.com about 2 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.
#3
Updated by daviddavis almost 2 years ago
- Sprint/Milestone set to 3.0.0
#4
Updated by bmbouter over 1 year ago
- Tags deleted (
Pulp 3)
Please register to edit this issue