summaryrefslogtreecommitdiffstats
path: root/roles/openshift_certificate_expiry/tasks
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2016-10-10 07:46:03 -0700
committerTim Bielawa <tbielawa@redhat.com>2016-10-20 07:49:40 -0700
commit83bdf2827aa2540872518b814b79c4753f66f1f6 (patch)
treecb73c9639df2c8e7357ab9fb4028daaa6aa3154c /roles/openshift_certificate_expiry/tasks
parent3e8279ace30affb18d7070a47a13b521995960d5 (diff)
downloadopenshift-83bdf2827aa2540872518b814b79c4753f66f1f6.tar.gz
openshift-83bdf2827aa2540872518b814b79c4753f66f1f6.tar.bz2
openshift-83bdf2827aa2540872518b814b79c4753f66f1f6.tar.xz
openshift-83bdf2827aa2540872518b814b79c4753f66f1f6.zip
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
Diffstat (limited to 'roles/openshift_certificate_expiry/tasks')
-rw-r--r--roles/openshift_certificate_expiry/tasks/main.yml14
1 files changed, 7 insertions, 7 deletions
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 }}"