diff --git a/coreos-config/plays/common.yaml b/coreos-config/plays/common.yaml index 82fca73..ccaf46e 100644 --- a/coreos-config/plays/common.yaml +++ b/coreos-config/plays/common.yaml @@ -115,7 +115,7 @@ stat: path: "/var/lib/systemd/linger/{{ ansible_user }}" register: user_lingering - - name: Enable lingering for root if needed + - name: Enable lingering for user if needed command: "loginctl enable-linger {{ ansible_user }}" when: - not user_lingering.stat.exists