*more fixes to prompt for username/password
*fix youtube script so vtomb.com auto-plays (add --autoplay-polic=no-user-gesture-required to command)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#launch browser on local display
|
||||
function launch_browser {
|
||||
DISPLAY=:0 /usr/bin/chromium-browser `shuf -n 1 /home/'{{ def_username }}'/Documents/facebook_url.list` &
|
||||
DISPLAY=:0 /usr/bin/chromium-browser `shuf -n 1 /home/{{ def_username }}/Documents/facebook_url.list` &
|
||||
}
|
||||
|
||||
#prevent race condition/memory exhaustion
|
||||
@@ -17,6 +17,6 @@ else
|
||||
sleep 10
|
||||
done
|
||||
/usr/bin/killall chrome
|
||||
rm /home/'{{ def_username }}'/.config/chromium/BrowserMetrics/*
|
||||
rm /home/{{ def_username }}/.config/chromium/BrowserMetrics/*
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: copy facebook script
|
||||
copy:
|
||||
template:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
owner: "{{ def_username }}"
|
||||
|
||||
Reference in New Issue
Block a user