ansible

ansible 上传公钥
ansible test -m authorized_key -a "user=root key={{ lookup('file', '/root/.ssh/id_rsa.pub') }}" -k
原文地址:https://www.cnblogs.com/littlebylittle/p/12525424.html