Skip to content

Instantly share code, notes, and snippets.

@allgood2386
Created January 31, 2017 13:28
Show Gist options
  • Save allgood2386/117bf518de6a82ec163402e5da5689a7 to your computer and use it in GitHub Desktop.
Save allgood2386/117bf518de6a82ec163402e5da5689a7 to your computer and use it in GitHub Desktop.
# Create database user with name 'bob' and previously hashed mysql native password '*EE0D72C1085C46C5278932678FBE2C6A782821B4' with all database privileges
- mysql_user:
name: bob
password: '*EE0D72C1085C46C5278932678FBE2C6A782821B4'
encrypted: yes
priv: '*.*:ALL'
state: present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment