1
0
Fork 0
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:
Jerry Vonau 2022-07-16 12:47:30 -05:00
parent 8d42038ad2
commit a3de7b389d
2 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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