Hi,
I am using Ansible 1.9 and during the execution of one of the playbooks I
am getting the below error:
TASK: [installing_galera | Fix expire_logs_days value in my.cnf]
*******************
<192.168.0.33> ESTABLISH CONNECTION FOR USER: root
<192.168.0.33> REMOTE_MODULE lineinfile
insertbefore=wsrep_sst_receive_address line=expire_logs_days=2
dest=/etc/mysql/my.cnf
<192.168.0.33> EXEC ssh -C -vvv -o ControlMaster=auto -o
ControlPersist=1800s -o TCPKeepAlive=yes -o ServerAliveInterval=5 -o
ServerAliveCountMax=15 -o
ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o
StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey
-o PasswordAuthentication=no -o ConnectTimeout=120 192.168.0.33 /bin/sh -c
'sudo -k && sudo -H -S -p "[sudo via ansible,
key=chgwbccvypugobpvexytbsdpzjymrlcy] password: " -u root /bin/sh -c
'"'"'echo BECOME-SUCCESS-chgwbccvypugobpvexytbsdpzjymrlcy; LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8 /usr/bin/python'"'"''
EXEC previous known host file not found for 192.168.0.33
fatal: [cic-1] => Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line
586, in _executor
exec_rc = self._executor_internal(host, new_stdin)
File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line
789, in _executor_internal
return self._executor_internal_inner(host, self.module_name,
self.module_args, inject, port, complex_args=complex_args)
File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line
1036, in _executor_internal_inner
result = handler.run(conn, tmp, module_name, module_args, inject,
complex_args)
File
"/usr/lib/python2.7/site-packages/ansible/runner/action_plugins/normal.py",
line 62, in run
return self.runner._execute_module(conn, tmp, module_name, module_args,
inject=inject, complex_args=complex_args)
File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line
551, in _execute_module
res = self._low_level_exec_command(conn, cmd, tmp, become=self.become,
sudoable=sudoable, in_data=in_data)
File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line
1174, in _low_level_exec_command
in_data=in_data)
File
"/usr/lib/python2.7/site-packages/ansible/runner/connection_plugins/ssh.py",
line 362, in exec_command
(returncode, stdout, stderr) = self._communicate(p, stdin, in_data,
sudoable=sudoable, prompt=prompt)
File
"/usr/lib/python2.7/site-packages/ansible/runner/connection_plugins/ssh.py",
line 162, in _communicate
rfd, wfd, efd = select.select(rpipes, [], rpipes, 1)
ValueError: filedescriptor out of range in select()
Can anyone please help me in fixing this?
BR,
Varun
--
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/c55b6ef2-f481-464a-831b-cb2c44eb56a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.