Ansible用户模块user和组模块group(学习笔记七)

user:生成用户、删除用户 group:生成组、删除组 1、生成用户:ansible all -m user -a "name=test password=1DhUWqz2JZqc home=/home uid=999 comment=‘this is a ansible test user‘ shell=/bin/sh" 其中密码为123,生成方式为: openssl passwd -salt
相关文章
相关标签/搜索