管理用户密码:
--- - hosts: test tasks: - name: changed password shell: echo root:123456 | chpasswd remote_user: root