ansible play-book create a user

- hosts: linvms
user: root
vars:
#password is 'yourpass'
password: $1$xyz$X5pC0RUqKE5mOgXcDDgFk0

tasks:
- user: name=peter password={{password}}

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.