1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Merge pull request #1967 from holta/scape-docs-when-online-only

Check internet_available before running iiab-refresh-wiki-docs (in stage 4)
This commit is contained in:
A Holt 2019-09-26 18:36:59 -04:00 committed by GitHub
commit 4a61b03be1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,7 @@
- name: Run /usr/bin/iiab-refresh-wiki-docs (scraper script) to create http://box/info offline documentation. (This script was installed at the beginning of Stage 3 = roles/3-base-server/tasks/main.yml, which ran Apache playbook = roles/httpd/tasks/main.yml)
command: /usr/bin/iiab-refresh-wiki-docs
when: not nodocs
when: internet_available and not nodocs
- name: Recording STAGE 4 HAS COMPLETED ==================
lineinfile: