惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tenable Blog
Last Week in AI
Last Week in AI
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
H
Help Net Security
F
Fortinet All Blogs
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
量子位
N
Netflix TechBlog - Medium
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
Recorded Future
Recorded Future
博客园 - 三生石上(FineUI控件)
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
Scott Helme
Scott Helme
The Last Watchdog
The Last Watchdog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
AI
AI
WordPress大学
WordPress大学
Security Archives - TechRepublic
Security Archives - TechRepublic
Google Online Security Blog
Google Online Security Blog
U
Unit 42
V2EX - 技术
V2EX - 技术
MongoDB | Blog
MongoDB | Blog
Schneier on Security
Schneier on Security
博客园 - Franky
H
Heimdal Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
Cloudbric
Cloudbric
B
Blog RSS Feed
N
News | PayPal Newsroom
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
I
Intezer
Hacker News - Newest:
Hacker News - Newest: "LLM"
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园_首页
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
雷峰网
雷峰网

Ansible

一个 tui 的 ansible playbook 执行引擎,欢迎使用 - V2EX 分享自己写的一个 ansible role,用来部署 meilisearch 有人同时用 PVE 和 Ansible 吗,用 Ansible 来管理 PVE 上的应用还挺方便 关于《大教堂与集市中》2.12 节的疑问 有时候 bug 出现的目标环境是其他发行版本,用 vagrant 还是 docker 来虚拟环境比较好? - V2EX yum install -y docker-ce-18.09.9-3.el7 还让我确认?怎么规避这个确认 - V2EX ansible sudo su - 不支持 - V2EX 关于 AWX 执行 ansible 的原理不解的地方 ansible-playbook 的剧本和相关的二进制文件怎么存比较好? - V2EX ansbile 怎么把连接的目标 HOST IP 通过变量传递过去 - V2EX ansible 远程自动交互式命令的响应 - V2EX jenkins 和 ansible 在不同服务器,想在 jenkins 配置远程 ansible 来调用对应 playbook 和 hosts 可以吗? - V2EX ansible api 里面的 ad-hoc 和 playbook 怎么做异步 - V2EX Python 如何将 txt 导入 excel? - V2EX 刚刚在抢 S7 鸟巢的票,想到一个问题,之前大麦网说被 80W 并发量挤爆了 - V2EX Ansible 节点边栏链接错误 - V2EX ansible 中的 check 模式和 diff 模式到底神马意思? - V2EX ansible su 切换用户问题? - V2EX 请假 ansible 里 template 模板是否支持目录呢 - V2EX ansible 如何控制 windows 后台运行 nginx? - V2EX 玩 Ansible 虐到自己了! - V2EX Ansible Container Ansible 使用 Dynamic inventory 的 Script 得到的所有主机信息有办法分类么? - V2EX Ansible 初学问题 - V2EX ansible 怎么关闭 ask sudo password? - V2EX 发个福利给 Ansible 的同学们,本人亲测有效 - V2EX ansible 不支持 windows 做控制端吗?我的 windows10 py3.4 用这个老是出错 - V2EX ansible 有什么优点么? - V2EX Ansible 官网的文档读起来好别扭 - V2EX Ansible 节点这么冷清? 没有人用吗? - V2EX 用 DigitalOcean 一键部署 Cisco IPSec - V2EX 有了解 ansible-playbook 的么 - V2EX
ansible 有没有关于 passphrase 的配置的 - V2EX
fanne · 2019-02-27 · via Ansible

fanne

 

fanne · 2019 年 2 月 27 日 · 4728 次点击

这是一个创建于 2664 天前的主题,其中的信息可能已经有所发展或是发生改变。

公司服务器登入使用了秘钥+passphrase 方式

现在 ansible 连接管理服务器也是通过自己的秘钥+passphrase 进行操作

我看了文档,里面有关于关于秘钥路径的参数ansible_ssh_private_key_file

不知道秘钥+passphrase 要如何处理?

julyclyde

1

julyclyde      2019 年 2 月 28 日

你试试用 ssh-agent 解决吧

lestat

2

lestat      2019 年 5 月 10 日

我也是遇到同样问题,不知如何解决,我的情况是 ansible 作为 docker 容器运行

lestat

3

lestat      2019 年 5 月 10 日

使用
```
eval `ssh-agent -s`
ssh-add key
```
的方法当时可以有效,但在重启容器后又不行了,暂时没找到方法把 ssh-add 的结果持久化