Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parsers to search path #67

Closed
trishnaguha opened this issue May 7, 2018 · 1 comment
Closed

Add parsers to search path #67

trishnaguha opened this issue May 7, 2018 · 1 comment
Assignees

Comments

@trishnaguha
Copy link
Member

trishnaguha commented May 7, 2018

Ref: #54

Feature request:
The search path to include the parsers directory adjacent to the playbook directory
It would be preferable to use the parser file name and default to parser_templates/{{ ansible_network_os }}/file.[yml|yaml]

@privateip
Copy link
Contributor

privateip commented May 7, 2018

Just to be explicit here, the default search path should be:

- {{ playbook_dir }/parser_templates/{{ ansible_network_os }}
- {{ playbook_dir }}/parser_templates
- {{ playbook_dir }}

with file extensions of *.yaml, *.yml, and *.json

/cc @jmcgill298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
ansible-network
  
Done - This means done, tests, integr...
Development

No branches or pull requests

2 participants