Skip to content

Instantly share code, notes, and snippets.

@malinoff
Created August 27, 2013 08:15
Show Gist options
  • Save malinoff/6350959 to your computer and use it in GitHub Desktop.
Save malinoff/6350959 to your computer and use it in GitHub Desktop.
Setting up mysql user:
mysql_user.present:
- name: {{ 'db' + grains['id'] + 'user' }}
- host: localhost
- password: {{ grains['id'] + 'other_things' }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment