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.

Also available in: Atom PDF