- command line values (for example, -u my_user, these are not variables)
- role defaults (defined in role/defaults/main.yml)
- inventory file or script group vars
- inventory group_vars/all
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
require "rubygems" | |
require "rbosa" | |
if `ps aux`.match(/Things\.app/) | |
things = OSA.app('Things') | |
if things.lists[1].to_dos.size != 0 | |
things.lists[1].to_dos.each {|todo| | |
`echo #{todo.name} | growlnotify -a Things` | |
} | |
end |