1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

Lint www_options/tasks/main.yml

This commit is contained in:
A Holt 2022-05-23 19:51:01 -04:00 committed by GitHub
parent 8c50177702
commit 319b5a2342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,16 +38,14 @@
path: /etc/xdg/lxsession/LXDE-pi/autostart
regexp: '^/usr/bin/chromium-browser'
line: '/usr/bin/chromium-browser --disable-restore-session-state http://box/home'
when:
lxde_present.stat.exists and not chromium_present.stat.exists
when: lxde_present.stat.exists and not chromium_present.stat.exists
- 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'
line: '/usr/bin/chromium --disable-restore-session-state http://box/home'
when:
lxde_present.stat.exists and chromium_present.stat.exists
when: lxde_present.stat.exists and chromium_present.stat.exists
- debug: