-remove wpasupplicant by default

This commit is contained in:
mpelle426
2019-07-12 16:23:36 +01:00
parent 451b8b8774
commit 9d8c451dea
6 changed files with 12 additions and 10 deletions

2
hosts
View File

@@ -16,6 +16,8 @@ ned-host1
ned-host2 ned-host2
ned-host3 ned-host3
# use variables for passwords
# currently not implemented
[pi:vars] [pi:vars]
vncpassword=vncpass99 vncpassword=vncpass99
pipassword=pipassword99 pipassword=pipassword99

View File

@@ -16,6 +16,6 @@ else
launch_browser launch_browser
sleep 10 sleep 10
done done
sleep 30 && /usr/bin/killall chromium-browser && /usr/bin/killall chromium-browser-v7 sleep 30 && /usr/bin/killall chromium-browser && /usr/bin/killall /usr/lib/chromium-browser/chromium-browser-v7
fi fi

View File

@@ -1,4 +1,11 @@
--- ---
- name: Remove wpasupplicant package
become: yes
apt:
name: ['wpasupplicant']
state: absent
purge: true
tags: wireless_ap
- name: set swapfile - name: set swapfile
become: true become: true
lineinfile: lineinfile:

View File

@@ -15,6 +15,6 @@ else
launch_browser launch_browser
sleep 25 sleep 25
done done
sleep 30 && /usr/bin/killall chromium-browser && /usr/bin/killall chromium-browser-v7 sleep 30 && /usr/bin/killall chromium-browser && /usr/bin/killall /usr/lib/chromium-browser/chromium-browser-v7
fi fi

View File

@@ -1,11 +1,4 @@
--- ---
- name: Remove wpasupplicant package
become: yes
apt:
name: ['wpasupplicant']
state: absent
purge: true
tags: wireless_ap
- name: configure wlan0 - name: configure wlan0
become: true become: true
blockinfile: blockinfile:

View File

@@ -5,6 +5,6 @@ then
exit 0 exit 0
else else
DISPLAY=:0 /usr/bin/chromium-browser https://www.vtomb.com & DISPLAY=:0 /usr/bin/chromium-browser https://www.vtomb.com &
/usr/bin/perl -e 'sleep int rand 300' && /usr/bin/killall chromium-browser /usr/bin/perl -e 'sleep int rand 300' && /usr/bin/killall /usr/lib/chromium-browser/chromium-browser-v7
fi fi