From ce49bdfc6e80679dcbbd56f49df01ba42b0c4022 Mon Sep 17 00:00:00 2001 From: Kaleb Stolee Date: Wed, 23 Oct 2024 06:14:09 -0600 Subject: [PATCH] Fixing lint error, and adding variable to readme file --- roles/parse_leapp_report/README.md | 2 +- roles/parse_leapp_report/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/parse_leapp_report/README.md b/roles/parse_leapp_report/README.md index 6fe7e66..c89e928 100644 --- a/roles/parse_leapp_report/README.md +++ b/roles/parse_leapp_report/README.md @@ -8,7 +8,7 @@ The `parse_leapp_report` role is used by the `analysis` or `upgrade` roles to ch |-------------------------|-----------------------|-----------------------------------------------------| | result_filename | "/var/log/leapp/leapp-report.txt" | Path of the Leapp pre-upgrade report file. | | result_filename_prefix | "/var/log/leapp/leapp-report | The path used and the prefix name setting for the Leapp report | -| result_filename_json | "{{ result_filename_prefix }}.json | JSON filename using the selected "result_filename_prefix" | +| result_fact_cacheable | "false" | Allow the parse leapp report to be included as a cacheable fact | ## Example playbook diff --git a/roles/parse_leapp_report/tasks/main.yml b/roles/parse_leapp_report/tasks/main.yml index 3991776..6d80cc6 100644 --- a/roles/parse_leapp_report/tasks/main.yml +++ b/roles/parse_leapp_report/tasks/main.yml @@ -15,7 +15,7 @@ - name: Parse report results ansible.builtin.set_fact: - cacheable: "{{ result_fact_cacheable }}" + cacheable: "{{ result_fact_cacheable }}" leapp_report_txt: "{{ results_txt.content | b64decode | split('\n') }}" leapp_report_json: "{{ results_json.content | b64decode | from_json }}"