become root for user linger

This commit is contained in:
flynn 2019-01-21 23:09:55 +01:00
parent 00ad0e4964
commit 789e14466c
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@
group: cat
- name: Make the user service execute on system start instead of user login
become: yes
become_user: root
shell: loginctl enable-linger {{ cat_user }}
- name: Enable cat service