--- - name: Copy ssh-agent.service copy: src: ssh-agent.service dest: ~/.config/systemd/user/ssh-agent.service - name: Enable ssh-agent service systemd: name: ssh-agent enabled: true state: started scope: user