mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
also allow ICO to set the complete flag
This commit is contained in:
parent
8d42038ad2
commit
a3de7b389d
2 changed files with 6 additions and 4 deletions
|
@ -101,3 +101,9 @@
|
||||||
include_tasks: restart.yml
|
include_tasks: restart.yml
|
||||||
# end block
|
# end block
|
||||||
when: network_installed is defined and network_enabled
|
when: network_installed is defined and network_enabled
|
||||||
|
|
||||||
|
- name: Create {{ iiab_etc_path }}/install-flags/iiab-network-complete on second pass of network role.
|
||||||
|
file:
|
||||||
|
path: "{{ iiab_etc_path }}/install-flags/iiab-network-complete"
|
||||||
|
state: touch
|
||||||
|
when: iiab_stage|int == 9
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
cd /opt/iiab/iiab
|
cd /opt/iiab/iiab
|
||||||
sudo ./iiab-network
|
sudo ./iiab-network
|
||||||
rc=$?
|
|
||||||
if [[ $rc == "0" ]]; then
|
|
||||||
sudo touch /etc/iiab/install-flags/iiab-network-complete
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue