- hosts: linvms
user: root
vars:
#password is 'yourpass'
password: $1$xyz$X5pC0RUqKE5mOgXcDDgFk0
tasks:
- user: name=peter password={{password}}
- hosts: linvms
user: root
vars:
#password is 'yourpass'
password: $1$xyz$X5pC0RUqKE5mOgXcDDgFk0
tasks:
- user: name=peter password={{password}}