lmgsanm

每天学习一点,每天进步一点点…… Tomorrow is another beatifull day

导航

id_rsa带passphrase的ansible执行方法

eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
ansible -i hosts all -m ping

 

posted on 2022-05-24 16:11  lmgsanm  阅读(46)  评论(0编辑  收藏  举报