v2 - issue running copy module

Hello all!

Does anyone had this issue using the copy module in v2 (2.0.0 0.0.pre)? It was working in 1.9.2.

  • copy: src=files/etc_logrotate.d_zabbix_agentd
    dest=/etc/logrotate.d/zabbix_agentd
    owner=root group=root mode=0644

Its returning this error to me:

An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
File “/opt/rh/python27/root/usr/lib/python2.7/site-packages/ansible-2.0.0-py2.7.egg/ansible/executor/process/worker.py”, line 118, in run
executor_result = TaskExecutor(host, task, job_vars, new_connection_info, self._new_stdin, self._loader, shared_loader_obj).run()
File “/opt/rh/python27/root/usr/lib/python2.7/site-packages/ansible-2.0.0-py2.7.egg/ansible/executor/task_executor.py”, line 111, in run
res = self._execute()
File “/opt/rh/python27/root/usr/lib/python2.7/site-packages/ansible-2.0.0-py2.7.egg/ansible/executor/task_executor.py”, line 272, in _execute
result = self._handler.run(task_vars=variables)
File “/opt/rh/python27/root/usr/lib/python2.7/site-packages/ansible-2.0.0-py2.7.egg/ansible/plugins/action/copy.py”, line 154, in run
if self._shell.path_has_trailing_slash(dest):
AttributeError: ‘ActionModule’ object has no attribute ‘_shell’

I’m seeing this as well with latest code as of 7/1/2015

this was temporary bug in the devel branch, I believe it has already
been fixed (or the PRs that do are about to be merged).