1
0
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:
eoli3n 2020-05-13 23:26:25 +02:00
parent d3e1b0f979
commit 54353a465e
3 changed files with 9 additions and 8 deletions

1
TODO
View File

@ -35,6 +35,5 @@
- fish role is ugly
#TEST
- repair travis runs
- wf-recorder
- systemctl pager is fucked, still ?

View 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"

View File

@ -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