Created
February 8, 2015 19:04
-
-
Save webstandardcss/f4961d5bbb45b28403fd to your computer and use it in GitHub Desktop.
Regular expression for parsing old ansible variables with the $ and replacing with jinja2 style double curly brace
This file contains hidden or 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
Search for: | |
\$\{?(\w+\.?\_?\w+\.?\_?\w+)\}? | |
Replace with | |
{{ \1 }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Insanely complete Ansible playbook, showing off all the options.
https://gist.github.com/webstandardcss/9d1a293914d972399712