Grunt: grunt build
Ansible: grunt: task=build
==================
Grunt: grunt build:debug
Ansible: grunt: task=build target=debug
==================
Grunt: grunt build:debug --gruntfile /tmp/gruntfile
Ansible: grunt: task=build target=debug file=/tmp/gruntfile
** when using the shell or command modules, the --gruntfile option will always have to be passed, otherwise grunt will not find the gruntfile (unless you do something like this 'shell: cd /myproj; grunt build:debug')
==================
Grunt: grunt build:debug --foo=bar
Ansible: grunt: task=build target=debug foo=bar
==================
Grunt: grunt build:debug --tasks=/usr/lib/grunttasks
Ansible grunt: task=build target=debug include=/usr/lib/grunttasks
I agree that the original grunt command look very similar to the ansible commands, but I still prefer the Ansible style.