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'


--
Rodrigo Bezerra Brasil
Belém, PA, BR


Controle é ilusão.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACTtCsFsmPxLS%2B9%2B_a78o1vEU4BKUD6fn3n%3D0yqzSXpkV3WsRQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to