You can automatically run [code]apt-get update[/code] as part of the Node installation if you specify two extra parameters to the [code]apt[/code] module:

[code]
update_cache: yes
cache_valid_time: 86400
[/code]

If the cache is older than [code]cache_valid_time[/code] seconds, Ansible will automatically fetch the latest package information before installing the packages. It’s also a bit nicer than running [code]apt-get update[/code] as a raw command because if you run the playbook multiple times, the package cache will only be updated once. I think you will need to omit [code]gather_facts[/code] though in order for it to work.