1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

Restore 'internet_available' to network/tasks/netplan.yml + www_options/tasks/main.yml

This commit is contained in:
root 2021-08-29 15:25:33 -04:00
parent 1c7c30d8f3
commit a808e0f76b
2 changed files with 4 additions and 2 deletions

View file

@ -63,7 +63,9 @@
get_url:
url: https://gitlab.com/craftyguy/networkd-dispatcher/-/raw/2.1/networkd-dispatcher
dest: /usr/bin/networkd-dispatcher
when: fix_dispatcher and ansible_distribution_release == "groovy"
when: internet_available and fix_dispatcher and ansible_distribution_release == "groovy"
# 2021-08-29 context from @jvonau: Fix is 'Groovy' specific, 21.04 and later
# should have the fix baked into a newer apt package installed by default.
#- name: Supply netplan template
# template:

View file

@ -158,7 +158,7 @@
- name: Run /usr/bin/iiab-refresh-wiki-docs (scraper script) to create http://box/info offline documentation. (This script was installed in Stage 3 = roles/3-base-server/tasks/main.yml, which ran roles/www_base/tasks/main.yml)
command: /usr/bin/iiab-refresh-wiki-docs
when: not nodocs
when: internet_available and not nodocs
- name: (Re)Start '{{ apache_service }}' systemd service, if installed & enabled