mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Restore 'internet_available' to network/tasks/netplan.yml + www_options/tasks/main.yml
This commit is contained in:
parent
1c7c30d8f3
commit
a808e0f76b
2 changed files with 4 additions and 2 deletions
|
@ -63,7 +63,9 @@
|
||||||
get_url:
|
get_url:
|
||||||
url: https://gitlab.com/craftyguy/networkd-dispatcher/-/raw/2.1/networkd-dispatcher
|
url: https://gitlab.com/craftyguy/networkd-dispatcher/-/raw/2.1/networkd-dispatcher
|
||||||
dest: /usr/bin/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
|
#- name: Supply netplan template
|
||||||
# template:
|
# template:
|
||||||
|
|
|
@ -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)
|
- 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
|
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
|
- name: (Re)Start '{{ apache_service }}' systemd service, if installed & enabled
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue