summaryrefslogtreecommitdiffstats
path: root/roles/user/tasks
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2026-01-24 00:33:50 +0100
committerAhmed AbdelHalim <[email protected]>2026-01-24 01:03:37 +0100
commitce8eaa97edc29485f81e7f95ad2abdf8c0573629 (patch)
tree198f009230b71c23275400826a2f60e50f01360a /roles/user/tasks
parente09d03bc5e6feb1bb21ffaf9a41cab9f94cd718e (diff)
Fix ansible 2.20.1 deprecation warning about ansible_vars
Diffstat (limited to 'roles/user/tasks')
-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']