1 #####################################
2 ### someone's ansible provisioner ###
3 #####################################
4 # Part of: https://git.somenet.org/root/pub/somesible.git
5 # 2017-2024 by someone <someone@somenet.org>
8 - name: create kiosk user
17 - name: create kiosk user's homedir
26 - name: copy lightdm.conf config
29 dest: "/etc/lightdm/lightdm.conf"
34 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/lightdm.conf"
35 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/lightdm.conf"
36 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/lightdm.conf"
37 - "default/lightdm.conf"
48 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/kiosk.sh"
49 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/kiosk.sh"
50 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/kiosk.sh"
54 - name: copy kiosk.tar.bz2
57 dest: "/etc/kiosk.tar.bz2"
62 - "{{lookup('env','PWD')}}/host_files/{{inventory_hostname}}/{{role_name}}/kiosk.tar.bz2"
63 - "{{lookup('env','PWD')}}/group_files/{{group_files_group}}/{{role_name}}/kiosk.tar.bz2"
64 - "{{lookup('env','PWD')}}/group_files/all/{{role_name}}/kiosk.tar.bz2"
65 - "default/kiosk.tar.bz2"
69 - name: delete kiosk-skel-dir
76 - name: set up new kiosk-skel-dir
86 - name: extract kiosk-skel-dir
88 src: "/etc/kiosk.tar.bz2"
91 mode: "u=rwX,g=rX,o-rwx"
95 - '--strip-components=1'
96 - '--show-stored-names'
100 - name: set up persistent kiosk storage
108 #TODO: deny crontab + at