1
0
Fork 0
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:
A Holt 2020-11-03 07:03:10 -05:00 committed by GitHub
parent 8ca435c473
commit dfd6cc8baa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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