-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-host3
# use variables for passwords
# currently not implemented
[pi:vars]
vncpassword=vncpass99
pipassword=pipassword99

View File

@@ -16,6 +16,6 @@ else
launch_browser
sleep 10
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

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
become: true
lineinfile:

View File

@@ -15,6 +15,6 @@ else
launch_browser
sleep 25
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

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
become: true
blockinfile:

View File

@@ -5,6 +5,6 @@ then
exit 0
else
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