Project

General

Custom queries

Profile

Actions

Bug #24000

open

User friendly error, when ansible is not installed

Added by Ondřej Pražák almost 7 years ago. Updated about 4 years ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

When I try to import roles from foreman host but ansible is not installed, I get the generic error with the exception text as a description. Maybe this could be handled more gracefully with human readable error and we could add a hint on how to resolve the issue.

Steps to reproduce:
1) install foreman with foreman_ansible
2) make sure ansible is not installed, or at least /etc/ansible/ansible.cfg does not exists
3) try to import roles
4) observe the error


Files

ansible-roles.png View ansible-roles.png 35.8 KB Ondřej Pražák, 06/19/2018 11:01 AM
Actions #1

Updated by Ondřej Ezr about 4 years ago

  • Subject changed from Oops, we are sorry something went wrong when ansible not installed to User friendly error, when ansible is not installed
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF