您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

31 行
834B

  1. ---
  2. - name: lockscreen environment
  3. template:
  4. src: lockscreen/lockscreen.env.j2
  5. dest: ~/.lockscreen.env
  6. - name: screensaver shell script
  7. template:
  8. src: lockscreen/screensaver.sh.j2
  9. dest: ~/.screensaver.sh
  10. mode: 0755
  11. - name: lockscreen graphical-session service definition
  12. template:
  13. src: lockscreen/lockscreen.service.j2
  14. dest: ~/.config/systemd/user/lockscreen.service
  15. notify: systemd daemon-reload
  16. - name: lockscreen-auto graphical-session service definition
  17. template:
  18. src: lockscreen/xss-lock.service.j2
  19. dest: ~/.config/systemd/user/xss-lock.service
  20. notify: systemd daemon-reload
  21. - name: xss-lock graphical-session service
  22. systemd:
  23. name: xss-lock.service
  24. enabled: "{{ xss_lock_enabled }}"
  25. state: "{{ xss_lock_enabled | ternary('started','stopped') }}"
  26. scope: user