From 83bdf2827aa2540872518b814b79c4753f66f1f6 Mon Sep 17 00:00:00 2001 From: Tim Bielawa Date: Mon, 10 Oct 2016 07:46:03 -0700 Subject: Clean up lint and other little things (polish++) * Fix code lint * Prefix role variables with the role name per best practices * Add words to README --- roles/openshift_certificate_expiry/tasks/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'roles/openshift_certificate_expiry/tasks') diff --git a/roles/openshift_certificate_expiry/tasks/main.yml b/roles/openshift_certificate_expiry/tasks/main.yml index 88bc02efe..b78209055 100644 --- a/roles/openshift_certificate_expiry/tasks/main.yml +++ b/roles/openshift_certificate_expiry/tasks/main.yml @@ -1,9 +1,9 @@ --- - name: Check cert expirys on host openshift_cert_expiry: - warning_days: "{{ warning_days|int }}" - config_base: "{{ config_base }}" - show_all: "{{ show_all|bool }}" + warning_days: "{{ openshift_certificate_expiry_warning_days|int }}" + config_base: "{{ openshift_certificate_expiry_config_base }}" + show_all: "{{ openshift_certificate_expiry_show_all|bool }}" register: check_results - name: Generate expiration report HTML @@ -11,15 +11,15 @@ run_once: yes template: src: cert-expiry-table.html.j2 - dest: "{{ html_report_path }}" + dest: "{{ openshift_certificate_expiry_html_report_path }}" delegate_to: localhost - when: "{{ generate_html_report|bool }}" + when: "{{ openshift_certificate_expiry_generate_html_report|bool }}" - name: Generate expiration results JSON become: no run_once: yes template: src: save_json_results.j2 - dest: "{{ json_results_path }}" + dest: "{{ openshift_certificate_expiry_json_results_path }}" delegate_to: localhost - when: "{{ save_json_results|bool }}" + when: "{{ openshift_certificate_expiry_save_json_results|bool }}" -- cgit v1.2.3