add ssh-agent service
This commit is contained in:
parent
0048372069
commit
401973a0bb
10 changed files with 61 additions and 18 deletions
|
@ -19,14 +19,6 @@
|
|||
template:
|
||||
src: "{{ role_path }}/templates/.gitconfig.j2"
|
||||
dest: ~/.gitconfig
|
||||
- name: Create keepassxc config directory
|
||||
file:
|
||||
path: ~/.config/keepassxc
|
||||
state: directory
|
||||
- name: Copy keepassxc.ini
|
||||
copy:
|
||||
src: "{{ role_path }}/files/keepassxc.ini"
|
||||
dest: ~/.config/keepassxc/keepassxc.ini
|
||||
- name: Create repos directory
|
||||
file:
|
||||
path: ~/repos
|
||||
|
@ -57,3 +49,13 @@
|
|||
src: "{{ role_path }}/files/ssh_config"
|
||||
dest: ~/.ssh/config
|
||||
mode: 0600
|
||||
- name: Copy systemd ssh-agent service
|
||||
template:
|
||||
src: "{{ role_path }}/templates/ssh-agent.service.j2"
|
||||
dest: /etc/systemd/user/ssh-agent.service
|
||||
- name: Enable ssh-agent service
|
||||
systemd:
|
||||
name: ssh-agent
|
||||
enabled: true
|
||||
scope: user
|
||||
state: started
|
||||
|
|
Reference in a new issue