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

Fix var name captive_portal_installed (not captiveportal_installed)

This commit is contained in:
holta 2019-10-25 01:07:27 -04:00 committed by Jerry Vonau
parent ef0ab50bd7
commit 3c79119f3c
2 changed files with 4 additions and 4 deletions

View file

@ -119,11 +119,11 @@
state: absent
when: not captive_portal_enabled
- name: Add 'captiveportal_installed' variable values to {{ iiab_state_file }}
- name: Add 'captive_portal_installed' variable values to {{ iiab_state_file }}
lineinfile:
dest: "{{ iiab_state_file }}"
regexp: '^captiveportal_installed'
line: 'captiveportal_installed: True'
regexp: '^captive_portal_installed'
line: 'captive_portal_installed: True'
state: present
- name: Restart Apache service ({{ apache_service }}) # i.e. apache2 on most distros

View file

@ -33,7 +33,7 @@ clear_marker(){
if [ $1 == "calibre-web" ]; then # role directory & installed marker differ
sed -i -e '/^calibreweb/d' $IIAB_STATE_FILE
elif [ $1 == "captive-portal" ]; then # role directory & installed marker differ
sed -i -e '/^captiveportal/d' $IIAB_STATE_FILE
sed -i -e '/^captive_portal/d' $IIAB_STATE_FILE
#elif [ $1 == "bluetooth" ]; then # role directory & installed marker differ
# sed -i -e '/^pan_bluetooth/d' $IIAB_STATE_FILE
else