mirror of
https://github.com/eoli3n/dotfiles
synced 2024-09-21 19:31:41 +02:00
fixed ssh-agent run in travis
This commit is contained in:
parent
d3e1b0f979
commit
54353a465e
1
TODO
1
TODO
@ -35,6 +35,5 @@
|
||||
- fish role is ugly
|
||||
|
||||
#TEST
|
||||
- repair travis runs
|
||||
- wf-recorder
|
||||
- systemctl pager is fucked, still ?
|
||||
|
8
roles/ssh-agent/handlers/main.yml
Normal file
8
roles/ssh-agent/handlers/main.yml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: enable ssh-agent
|
||||
systemd:
|
||||
name: ssh-agent
|
||||
daemon_reload: yes
|
||||
enabled: yes
|
||||
scope: user
|
||||
when: ansible_virtualization_role == "host"
|
@ -3,15 +3,9 @@
|
||||
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: Start and enable ssh-agent service
|
||||
systemd:
|
||||
name: ssh-agent
|
||||
state: started
|
||||
enabled: yes
|
||||
scope: user
|
||||
|
Loading…
Reference in New Issue
Block a user