随笔分类 -  Ansible

摘要:ansible批量加用户 1、生成密码 pip install passlib python -c "from passlib.hash import sha512_crypt; print sha512_crypt.encrypt('123456')" 2、文件一 hosts.yaml all: vars: ansible_connection: ssh ansible... 阅读全文
posted @ 2018-04-09 16:43 道高一尺 阅读(547) 评论(0) 推荐(0) 编辑