mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 06:11:26 -07:00
become: Add missing documentation for pfexec, dzdo and machinectl (#53314)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
b011ec4638
commit
be2a349970
2 changed files with 8 additions and 2 deletions
|
@ -554,7 +554,12 @@ def process_plugins(module_map, templates, outputname, output_dir, ansible_versi
|
|||
|
||||
display.v('about to template %s' % module)
|
||||
display.vvvvv(pp.pformat(doc))
|
||||
text = templates['plugin'].render(doc)
|
||||
try:
|
||||
text = templates['plugin'].render(doc)
|
||||
except Exception as e:
|
||||
display.warning(msg="Could not parse %s due to %s" % (module, e))
|
||||
continue
|
||||
|
||||
if LooseVersion(jinja2.__version__) < LooseVersion('2.10'):
|
||||
# jinja2 < 2.10's indent filter indents blank lines. Cleanup
|
||||
text = re.sub(' +\n', '\n', text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue