become root for user linger
This commit is contained in:
parent
00ad0e4964
commit
789e14466c
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue