config users shell/ssh
This commit is contained in:
parent
47ef7a7045
commit
f12466dead
12 changed files with 184 additions and 16 deletions
6
roles/users/templates/ssh.config.j2
Normal file
6
roles/users/templates/ssh.config.j2
Normal file
|
@ -0,0 +1,6 @@
|
|||
host blabla
|
||||
hostname {{ ansible_hostname }}
|
||||
User {{ item.name }}
|
||||
RemoteForward /home/{{ item.name }}/.gnupg/S.gpg-agent $HOME/.gnupg/S.gpg-agent
|
||||
RemoteForward /home/{{ item.name }}/.gnupg/S.gpg-agent.ssh $HOME/.gnupg/S.gpg-agent.ssh
|
||||
ServerAliveInterval 10
|
Loading…
Add table
Add a link
Reference in a new issue