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).
On Wed, Jul 1, 2015 at 1:38 PM, joshm <[email protected]> wrote: > I'm seeing this as well with latest code as of 7/1/2015 > > > On Tuesday, June 30, 2015 at 11:51:02 AM UTC-7, Rodrigo B Brasil wrote: >> >> 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/a188e708-5007-470e-94a6-dab91775bd1d%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- Brian Coca -- 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/CAJ5XC8k6viPCnbXRYT25LFVDzmmAAdYr6nYffCG-A%3D1CkVy0Uw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
