Ansible role for managing ssh-agent daemon with systemd
files | ||
meta | ||
tasks | ||
README.md |
SSH-Agentd Ansible role
This role create service and environment for managing ssh-agent service with systemd.
Note that for exporting SSH_AUTH_SOCK in your session, you need to parse
fnvironment file in XDG_CONFIG_DIR
. Here is an example for zsh, i put this
little snippet in my .zprofile
:
for file in ~/.config/environment.d/*.conf
do
while read -r line
do
varname=${line%=*}
value=${${(e)line#*=}//\"}
export $varname="${value}"
done < $file
done