Project

Profile

Help

Task #2865

closed

Move Ansible version check back into a pretask

Added by amacdona@redhat.com over 7 years ago. Updated over 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
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.

Actions #1

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.

Actions #2

Updated by amacdona@redhat.com almost 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 #3

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #4

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)

Also available in: Atom PDF