https://github.com/ansible/ansible/pull/16515 think this is similar?
On Friday, December 30, 2016 at 12:21:44 PM UTC+1, Kevin Csuka wrote:
>
> Ansible version: 2.1.2.0
>
> My task:
>
> - name: "Managing groups with gid set" become: true group: name: "{{
> item.value.name }}" state: "{{ item.value.state | default('present')}}"
> system: "{{ item.value.system | default('no')}}" gid: "{{ item.value.gid
> }}" with_dict: "{{ ssh_groups }}" when: item.value.gid is defined
>
> My variables;
>
> cpbo: name: cpbo state: present gid: 10001
> Ansible SOMETIMES returns this error message on different nodes, just
> randomly.
>
>
> An exception occurred during task execution. The full traceback is:
>
> Traceback (most recent call last):
>
> File
> "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line
> 96, in run
>
> item_results = self._run_loop(items)
>
> File
> "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line
> 252, in _run_loop
>
> res = self._execute(variables=task_vars)
>
> File
> "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line
> 446, in _execute
>
> result = self._handler.run(task_vars=variables)
>
> File
> "/usr/lib/python2.7/site-packages/ansible/plugins/action/normal.py", line
> 33, in run
>
> results = merge_hash(results, self._execute_module(tmp=tmp,
> task_vars=task_vars))
>
> File
> "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line
> 591, in _execute_module
>
> tmp = self._make_tmp_path(remote_user)
>
> File
> "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line
> 218, in _make_tmp_path
>
> result = self._low_level_execute_command(cmd, sudoable=False)
>
> File
> "/usr/lib/python2.7/site-packages/ansible/plugins/action/__init__.py", line
> 718, in _low_level_execute_command
>
> rc, stdout, stderr = self._connection.exec_command(cmd,
> in_data=in_data, sudoable=sudoable)
>
> File
> "/usr/lib/python2.7/site-packages/ansible/plugins/connection/ssh.py", line
> 595, in exec_command
>
> return_tuple = self._exec_command(*args, **kwargs)
>
> File
> "/usr/lib/python2.7/site-packages/ansible/plugins/connection/ssh.py", line
> 572, in _exec_command
>
> (returncode, stdout, stderr) = self._run(cmd, in_data,
> sudoable=sudoable)
>
> File
> "/usr/lib/python2.7/site-packages/ansible/plugins/connection/ssh.py", line
> 351, in _run
>
> os.write(self.sshpass_pipe[1],
> "{0}\n".format(to_bytes(self._play_context.password)))
>
> OSError: [Errno 32] Broken pipe
>
>
> fatal: [machine1]: FAILED! => {"failed": true, "msg": "Unexpected failure
> during module execution.", "stdout": ""}
>
--
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/29a8eabb-af5d-49a6-a459-7eb93c8e9227%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.