I\'m currently writing an Ansible play that follows this general format and is run via a cron job:
pre_tasks: -Configuration / package installation tasks:
You should use handlers (http://docs.ansible.com/ansible/playbooks_intro.html) and set:
force_handlers: true
Please give a look to KubeNow's integration test (https://github.com/kubenow/KubeNow/blob/master/test/integration-test.yml).