# ansible4ops **Repository Path**: zhoufen111111/ansible4ops ## Basic Information - **Project Name**: ansible4ops - **Description**: ansible for simple operation - **Primary Language**: 其他 - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-08-14 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ansible4ops ansible for simple operation # ntpservice 安装并设置 ntp-server ``` ansible-playbook -i inventory/ ntpservice.yaml ``` # copyfile 拷贝文件到指定位置 ``` ansible-playbook -i inventory/ copyfile.yaml ``` # clearknownhosts 清除 ```/root/.ssh/known_hosts``` 文件中的所有内容 ``` ansible-playbook -i inventory/ clearknownhosts.yaml ```