mirror of
https://github.com/openshift/community.okd.git
synced 2026-03-26 19:03:14 +00:00
Remove has_action field from doc fragment (#68)
A recent change in Ansible
(42da480721)
added a has_action field to the json output of ansible-doc. This started
causing the downstream sanity checks to fail.
This commit is contained in:
@@ -13,6 +13,7 @@ with open("./rendereddocfragments.txt", 'w') as df_fd:
|
||||
|
||||
json_docs[sys.argv[1]]['doc'].pop('collection', '')
|
||||
json_docs[sys.argv[1]]['doc'].pop('filename', '')
|
||||
json_docs[sys.argv[1]]['doc'].pop('has_action', '')
|
||||
|
||||
df_fd.write("DOCUMENTATION = '''\n")
|
||||
df_fd.write(yaml.dump(json_docs[sys.argv[1]]['doc'], default_flow_style=False))
|
||||
|
||||
Reference in New Issue
Block a user