What is the difference with action: and without in a task?

​None. Leaving out "action:" is a shortcut notation.

(Which you cannot do e.g. when doing a local_action:​)

Serge