Skip to content
Browse files

Added Roles folder. Useful for creating role files using ruby DSL.

  • Loading branch information...
1 parent 96daff5 commit 3c07641a1e201f1b6469b4fca0a1dc4f12594471 @cabeca committed
Showing with 16 additions and 0 deletions.
  1. +16 −0 Roles/role.sublime-snippet
View
16 Roles/role.sublime-snippet
@@ -0,0 +1,16 @@
+<snippet>
+ <content><![CDATA[
+name "${1:role name}"
+description "${2:Description for the role}"
+run_list ${3:"role[example]", "recipe[example]"}
+override_attributes ${4::attribute => "example"}
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>role</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>role</description>
+</snippet>
+
+

0 comments on commit 3c07641

Please sign in to comment.
Something went wrong with that request. Please try again.