cancel
Showing results for 
Search instead for 
Did you mean: 
wbialy
Flight Engineer Flight Engineer
Flight Engineer
  • 1,224 Views

Ansible-navigator / ansible-doc filter type not available

Hello

Does anybody know why the filter type is not available in the ansible docs? I the class env I tried both "ansible-navigator doc -t filter -l" and "ansible-doc -t filter -l" but in both cases I get a message that "filter" is not a valid option.  Can it be it was not included in the assible 2.13.4 (ansible-navigator 2.1.0) which is installed in the lab env? I works on my local setup where I run ansible 2.15.8 (ansible-navigator 3.4.1) 

4 Replies
wbialy
Flight Engineer Flight Engineer
Flight Engineer
  • 1,195 Views

I tried to force it with explicingly enabling docs for filters in the ansible-navigator.yml 

ansible:
  doc:
     plugin:
        type: filter

It has not resolve the issue and causing the config to fail. 

0 Kudos
wbialy
Flight Engineer Flight Engineer
Flight Engineer
  • 1,194 Views

Found it.  

  • Ansible 2.8: Filter documentation is available in Ansible Navigator for the first time.

Lab is running on assible 2.13.4 so it should work  but it does not  

0 Kudos
m8ram
Mission Specialist
Mission Specialist
  • 1,062 Views

https://devops.stackexchange.com/questions/15664/ansible-doc-command-for-filters-plugins suggests that such documentation is not available.
Can anyone (without violating any rules on the exam platform) confirm if the ansible documentation is available inside the exam environment?

0 Kudos
wbialy
Flight Engineer Flight Engineer
Flight Engineer
  • 1,048 Views

Thanks for sharing.

I can confirm that all the product documentation is available during the exam ( first hand experience ) as it’s stated in the exam description. That means that it’s provided for the version of the product used during the exam and labs. In this case the type filter is not present. However I found that this is available in the online documentation under “working with plugins -> filters” That describes all the filters coming with the ansible.builtin module. Jinj2 templates like map are not described in that section of docs.ansible.

I need to admit I’m still confused of why 2.13.4 does not have the filter type option available, but I did not look more into it after the exam.

0 Kudos
Join the discussion
You must log in to join this conversation.