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

27 行
463B

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