From dee8a4a8f1c85ceb3078f603d2f2a4e7f99f1858 Mon Sep 17 00:00:00 2001 From: Sloane Hertel Date: Tue, 27 Oct 2020 11:10:13 -0400 Subject: [PATCH] Use type 'path' for fact_caching_connection in jsonfile cache plugin (#72317) --- changelogs/fragments/72315-fact-caching-relative-to-config.yml | 2 ++ lib/ansible/plugins/cache/jsonfile.py | 1 + 2 files changed, 3 insertions(+) create mode 100644 changelogs/fragments/72315-fact-caching-relative-to-config.yml diff --git a/changelogs/fragments/72315-fact-caching-relative-to-config.yml b/changelogs/fragments/72315-fact-caching-relative-to-config.yml new file mode 100644 index 00000000000..1f8f23ca7dc --- /dev/null +++ b/changelogs/fragments/72315-fact-caching-relative-to-config.yml @@ -0,0 +1,2 @@ +bugfixes: + - Fix jsonfile cache plugin option '_uri' to be a type path instead of a string. (https://github.com/ansible/ansible/issues/38002) diff --git a/lib/ansible/plugins/cache/jsonfile.py b/lib/ansible/plugins/cache/jsonfile.py index 7ee037292ea..a26828a401c 100644 --- a/lib/ansible/plugins/cache/jsonfile.py +++ b/lib/ansible/plugins/cache/jsonfile.py @@ -23,6 +23,7 @@ DOCUMENTATION = ''' ini: - key: fact_caching_connection section: defaults + type: path _prefix: description: User defined prefix to use when creating the JSON files env: