Replace legacy "action:" task syntax with shorthand equivalent

The shorthand syntax is recommended by Ansible documentation and is already used for most of the other tasks.