mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
fixes to path
This commit is contained in:
parent
76ca4b977d
commit
ffef8b8ecf
1 changed files with 3 additions and 3 deletions
|
@ -25,13 +25,13 @@
|
||||||
|
|
||||||
- name: Make home page autostart on localhost (the server's console) if session manager is LXDE (rpi)
|
- name: Make home page autostart on localhost (the server's console) if session manager is LXDE (rpi)
|
||||||
stat:
|
stat:
|
||||||
path: /etc/lxsession/LXDE-pi/autostart
|
path: /etc/xdg/lxsession/LXDE-pi/autostart
|
||||||
register: lxde_present
|
register: lxde_present
|
||||||
|
|
||||||
- name: Add a chromium-browser to autostart if session manager is LXDE
|
- name: Add a chromium-browser to autostart if session manager is LXDE
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/lxsession/LXDE-pi/autostart
|
path: /etc/xdg/lxsession/LXDE-pi/autostart
|
||||||
rexexp: '^/usr/bin/chromium-browser'
|
regexp: '^/usr/bin/chromium-browser'
|
||||||
line: '/usr/bin/chromium-browser --ignore-certificate-errors --disable-restore-session-state http://box/home'
|
line: '/usr/bin/chromium-browser --ignore-certificate-errors --disable-restore-session-state http://box/home'
|
||||||
when:
|
when:
|
||||||
lxde_present.stat.exists
|
lxde_present.stat.exists
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue