From e4226e8515b3a73cee64b5c0974a63227486b98c Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Tue, 4 Jul 2017 15:04:16 -0500 Subject: [PATCH] suppress doc generation when requested (#77) * add default nodocs * exclude iiab-refresh-wiki-docs when nodocs is True add nodocs: True to vars/local_vars.yml to skip doc generation. --- roles/httpd/tasks/main.yml | 3 +-- vars/default_vars.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/httpd/tasks/main.yml b/roles/httpd/tasks/main.yml index de9cef54a..cb08075fa 100644 --- a/roles/httpd/tasks/main.yml +++ b/roles/httpd/tasks/main.yml @@ -147,5 +147,4 @@ - name: generate the offline documents command: /usr/bin/iiab-refresh-wiki-docs - - + when: not nodocs diff --git a/vars/default_vars.yml b/vars/default_vars.yml index 067e35d0c..5a26660fd 100644 --- a/vars/default_vars.yml +++ b/vars/default_vars.yml @@ -306,7 +306,7 @@ xovis_chart_heading: "My School: Usage Data Visualization" # 9-LOCAL-ADDONS # Platforms - turn all off and let .yml turn on as appropriate - +nodocs: False is_rpi: False is_debian: False is_debuntu: False