You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

ssh-agent.yaml 654B

2 years ago
12345678910111213141516171819202122232425262728
  1. ---
  2. - name: make ssh-agent user service override directory
  3. file:
  4. path: /etc/systemd/user/ssh-agent.service.d
  5. state: directory
  6. - name: make ssh-agent user service enableable
  7. copy:
  8. src: ssh-agent.service.d.install
  9. dest: /etc/systemd/user/ssh-agent.service.d/install.conf
  10. - name: ensure ssh-agent user service is enabled for all users
  11. systemd:
  12. enabled: yes
  13. scope: global
  14. name: ssh-agent.service
  15. - name: ensure gpg-agent user socket is enabled for all users
  16. systemd:
  17. enabled: yes
  18. scope: global
  19. name: gpg-agent.socket
  20. - name: pam_env.conf
  21. copy:
  22. src: pam_env.conf
  23. dest: /etc/security/pam_env.conf