Using apt module instead of command as recommended by Ansible.
To use command it should be: apt-get upgrade -y (as Ansible is not interactive).
Call modules directly. (As of Ansible v0.8, the action command is not needed.)
Changed references to sshd (Fedora SSH Daemon) to ssh (Debian SSH Daemon).