diff --git a/solar/solar/core/handlers/ansible.py b/solar/solar/core/handlers/ansible.py index edba4b36..9bc74741 100644 --- a/solar/solar/core/handlers/ansible.py +++ b/solar/solar/core/handlers/ansible.py @@ -12,7 +12,7 @@ class Ansible(BaseHandler): playbook_file = self._create_playbook(resource, action_name) print 'inventory_file', inventory_file print 'playbook_file', playbook_file - call_args = ['ansible-playbook', '-i', inventory_file, playbook_file] + call_args = ['ansible-playbook', '--module-path', '/vagrant/library', '-i', inventory_file, playbook_file] print 'EXECUTING: ', ' '.join(call_args) subprocess.call(call_args)