From 5361c9322e2341a7c95ae859dfc50201e475c0b4 Mon Sep 17 00:00:00 2001 From: Mike Graves Date: Thu, 18 Feb 2021 11:35:30 -0500 Subject: [PATCH] Remove has_action field from doc fragment (#68) A recent change in Ansible (https://github.com/ansible/ansible/commit/42da4807214cd609fd3c1800ab245c025ae044cd) added a has_action field to the json output of ansible-doc. This started causing the downstream sanity checks to fail. --- ci/downstream_fragments.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/downstream_fragments.py b/ci/downstream_fragments.py index bd58293..7fb3631 100755 --- a/ci/downstream_fragments.py +++ b/ci/downstream_fragments.py @@ -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))