From 18cbc3b16b91be5980c0abbbc56609524f7ef2ec Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 20 Mar 2017 15:47:15 -0400 Subject: [PATCH] minor doc gen fixes --- hacking/dump_playbook_attributes.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hacking/dump_playbook_attributes.py b/hacking/dump_playbook_attributes.py index 8b4ea6b049..0b963ff45f 100755 --- a/hacking/dump_playbook_attributes.py +++ b/hacking/dump_playbook_attributes.py @@ -53,7 +53,12 @@ for aclass in class_list: # local_action is implicit with action if 'action' in oblist[name]: - oblist[name]['local_action'] = 'Same as action but also implies `delegate_to: localhost`' + oblist[name]['local_action'] = 'Same as action but also implies ``delegate_to: localhost``' + + # remove unusable (used to be private?) + for nouse in ('loop', 'loop_args'): + if nouse in oblist[name]: + del oblist[name][nouse] env = Environment(loader=FileSystemLoader(options.template_dir), trim_blocks=True,) template = env.get_template(template_file)