mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 06:08:35 +01:00
ssh-agent systemd
This commit is contained in:
parent
2c9aa8e164
commit
fab5b8f11a
@ -1,11 +1,3 @@
|
||||
---
|
||||
- name: Configure ssh-agent
|
||||
copy:
|
||||
src: ssh-agent.service
|
||||
dest: ~/.config/systemd/user/
|
||||
notify: enable ssh-agent
|
||||
|
||||
- name: Configure pam environment
|
||||
copy:
|
||||
src: pam_environment
|
||||
dest: ~/.pam_environment
|
||||
- name: include init method
|
||||
include_tasks: "{{ ansible_service_mgr }}.yml"
|
||||
|
11
roles/ssh-agent/tasks/systemd.yml
Normal file
11
roles/ssh-agent/tasks/systemd.yml
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: Configure ssh-agent
|
||||
copy:
|
||||
src: ssh-agent.service
|
||||
dest: ~/.config/systemd/user/
|
||||
notify: enable ssh-agent
|
||||
|
||||
- name: Configure pam environment
|
||||
copy:
|
||||
src: pam_environment
|
||||
dest: ~/.pam_environment
|
Loading…
Reference in New Issue
Block a user