You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when: lihas_users_filter is not defined or ( lihas_users_filter is defined and user.key in lihas_users_filter )
12
25
tags:
13
26
- users
14
27
become: "{{ lihas_become }}"
@@ -18,6 +31,7 @@
18
31
state: directory
19
32
owner: "{{ user.key }}"
20
33
recurse: true
34
+
when: ( lihas_users_filter is not defined or ( lihas_users_filter is defined and user.key in lihas_users_filter ) ) and user.value.force_home_user | default(false)
when: lihas_users_filter is not defined or ( lihas_users_filter is defined and user.key in lihas_users_filter )
34
49
tags:
35
50
- users
36
51
become: "{{ lihas_become }}"
@@ -45,5 +60,5 @@
45
60
tags:
46
61
- users
47
62
become: "{{ lihas_become }}"
48
-
when: user.value.sudo | default(false) or user.value.sudo_selfservice | default(false)
63
+
when: ( lihas_users_filter is not defined or ( lihas_users_filter is defined and user.key in lihas_users_filter ) ) and ( user.value.sudo | default(false) or user.value.sudo_selfservice | default(false) )
0 commit comments