claranet / ansible-gendoc

Auto generate Ansible documentation
Mozilla Public License 2.0
26 stars 7 forks source link

Minimal requirement of meta/main.yml #8

Closed damienvergnaud closed 2 years ago

damienvergnaud commented 2 years ago

Traceback returned by ansible-gendoc render without thoses key/values in meta/main.yml at least with default template in 1.0.6 version.

galaxy_info:
  namespace: namespace
  role_name: acmetool

Errors :

KeyError: 'role_name'
Or 
KeyError: 'namespace'

Should we add minimal requirements in order for ansible-gendoc to proceed with the default template ?

stephrobert commented 2 years ago

Hi,

I used some roles from Claranet and in their meta/main.yml I found namespace/ After verification on Ansible Galaxy I replace it by Athor.

Fixed in 0.1.7

Thanks. See you soon