Project

General

Profile

Actions

Bug #25944

closed

Variables are ignored if the role does not live in all ansible directories

Added by Marek Hulán about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Imagine we have role dirs set to /etc/ansible/roles:/root/.ansible/roles (two directories). Our code does this

variables[role_name] = VariablesExtractor.extract_variables("#{path}/#{role_name}")

if the role does not exist in second directory, we replace variables found in first with empty array.

Actions #1

Updated by Marek Hulán about 5 years ago

  • Pull request https://github.com/theforeman/smart_proxy_ansible/pull/15 added
Actions #2

Updated by Ondřej Pražák about 5 years ago

  • Status changed from New to Closed
  • Fixed in Releases smart_proxy_ansible-2.1.2 added
Actions

Also available in: Atom PDF