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
相關文章
相關標籤/搜索