fix guest session path
This commit is contained in:
parent
17ed958b90
commit
c0c3d73ad2
1 changed files with 8 additions and 8 deletions
|
|
@ -33,13 +33,13 @@
|
|||
|
||||
- name: genereate guest-session directory
|
||||
file:
|
||||
path: /etc/guest-session
|
||||
path: /usr/share/lightdm/guest-session
|
||||
state: directory
|
||||
|
||||
- name: link guest-session configs
|
||||
file:
|
||||
src: /etc/skel
|
||||
dest: /etc/guest-session/skel
|
||||
dest: /usr/share/lightdm/guest-session/skel
|
||||
state: link
|
||||
|
||||
- name: get guest-account scripts
|
||||
|
|
@ -49,15 +49,15 @@
|
|||
mode: "0755"
|
||||
with_items:
|
||||
- url: https://raw.githubusercontent.com/CanonicalLtd/lightdm/master/debian/guest-session-setup.sh
|
||||
dest: /etc/guest-session/setup.sh
|
||||
dest: /usr/share/lightdm/guest-session/setup.sh
|
||||
- url: https://raw.githubusercontent.com/CanonicalLtd/lightdm/master/debian/guest-account.sh
|
||||
dest: /usr/local/sbin/guest-account
|
||||
|
||||
- name: modify guest-account script
|
||||
lineinfile:
|
||||
path: /usr/local/sbin/guest-account
|
||||
regexp: '^dist_gs=.*$'
|
||||
line: 'dist_gs=/etc/guest-session'
|
||||
#- name: modify guest-account script
|
||||
# lineinfile:
|
||||
# path: /usr/local/sbin/guest-account
|
||||
# regexp: '^dist_gs=.*$'
|
||||
# line: 'dist_gs=/etc/guest-session'
|
||||
|
||||
- name: configure lightdm
|
||||
ini_file:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue