Created
March 22, 2016 00:04
-
-
Save anshprat/01324ec73eac0f9cf8bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: all | |
user: root | |
vars: | |
# created with: | |
# python -c 'import crypt; print crypt.crypt("This is my Password", "$1$SomeSalt$")' | |
password: $1$0278683f$LKwlkE702yVFDCk7EBg2O1 | |
tasks: | |
- user: name=sc password={{password}} groups="sudo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment