mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +00:00
Lint / Explanations for release
For final review by @georgejhunt if he can look this over.
This commit is contained in:
parent
8ca435c473
commit
dfd6cc8baa
1 changed files with 5 additions and 5 deletions
|
@ -33,19 +33,19 @@
|
|||
path: /usr/bin/chromium
|
||||
register: chromium_present
|
||||
|
||||
- name: Add a chromium-browser to autostart if session manager is LXDE
|
||||
- name: Add chromium-browser to /etc/xdg/lxsession/LXDE-pi/autostart if session manager is LXDE
|
||||
lineinfile:
|
||||
path: /etc/xdg/lxsession/LXDE-pi/autostart
|
||||
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:
|
||||
lxde_present.stat.exists and not chromium_present.stat.exists
|
||||
|
||||
- name: Add a chromium-browser to autostart if session manager is LXDE
|
||||
- name: Add chromium to /etc/xdg/lxsession/LXDE-pi/autostart if session manager is LXDE
|
||||
lineinfile:
|
||||
path: /etc/xdg/lxsession/LXDE-pi/autostart
|
||||
regexp: '^/usr/bin/chromium-browser'
|
||||
line: '/usr/bin/chromium --ignore-certificate-errors --disable-restore-session-state http://box/home'
|
||||
regexp: '^/usr/bin/chromium'
|
||||
line: '/usr/bin/chromium --ignore-certificate-errors --disable-restore-session-state http://box/home'
|
||||
when:
|
||||
lxde_present.stat.exists and chromium_present.stat.exists
|
||||
|
||||
|
|
Loading…
Reference in a new issue