您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

3 年前
123456789101112131415161718192021222324252627
  1. ---
  2. - name: ssh-keys
  3. copy:
  4. src: ~/ssh-keys/
  5. dest: ~/ssh-keys
  6. mode: u=rw,g=,o=
  7. - name: ssh auto config
  8. template:
  9. src: ssh/ssh.config.j2
  10. dest: ~/.ssh/config.auto
  11. - name: include ssh auto config
  12. lineinfile:
  13. path: ~/.ssh/config
  14. line: Include config.auto
  15. insertbefore: BOF
  16. create: true
  17. - name: enable and start ssh-agent user service
  18. systemd:
  19. name: ssh-agent.service
  20. state: started
  21. enabled: true
  22. scope: user
  23. when: ansible_distribution == 'Debian'