---
- hosts: cache
? remote_user: root
? tasks:
? ? - name: create user "{{username}}"
? ? ? user:
? ? ? ? name: "{{username}}"
? ? ? ? password: "{{pwd|password_hash('sha512')}}"
vim args.yaml
---
username:
? fuck
pwd:
? abcd123
ansible-playbook plj.yml -e @args.yaml