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: