# push_rsa-ansible **Repository Path**: xubinfeng/push_rsa-ansible ## Basic Information - **Project Name**: push_rsa-ansible - **Description**: 推送公钥到远程 - **Primary Language**: Shell - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-12-16 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # push_rsa-ansible #### 介绍 推送公钥到远程 #### 说明 - files/ssh-key/目录下的rsa文件请替换自己的 - vars/main.yml中进行配置登录信息和公钥地址 #### demo1 ``` ansible-playbook -i host push_rsa.yml ``` #### demo2 指定host组,默认Allnode ``` ansible-playbook -i host push_rsa.yml -e "run=node1" ```