summaryrefslogtreecommitdiffstats
path: root/roles/user
diff options
context:
space:
mode:
Diffstat (limited to 'roles/user')
-rw-r--r--roles/user/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/user/tasks/main.yml b/roles/user/tasks/main.yml
index bebedfcb..a06cb9eb 100644
--- a/roles/user/tasks/main.yml
+++ b/roles/user/tasks/main.yml
@@ -63,4 +63,4 @@
ansible.builtin.command:
cmd: "loginctl enable-linger {{ username }}"
creates: "/var/lib/systemd/linger/{{ username }}"
- when: not ansible_is_chroot
+ when: not ansible_facts['is_chroot']