摘要: 安装模块 pip install passlib 生成加密密码 python -c "from passlib.hash import sha512_crypt; import getpass; print sha512_crypt.encrypt('123')" 阅读全文
posted @ 2022-03-09 11:58 LiShiChao 阅读(127) 评论(0) 推荐(0)
摘要: ping测试 ansible pyproxy -m ping 执行shell命令 ansible pyproxy -m shell -a "ip a" 拷贝目录 ansible pyproxy -m synchronize -a "src=/opt/ops/test dest=/data delet 阅读全文
posted @ 2022-03-09 11:02 LiShiChao 阅读(33) 评论(0) 推荐(0)