質問編集履歴

1

詳細エラーの追加

2020/10/14 05:27

投稿

tiqua_nibio
tiqua_nibio

スコア62

test CHANGED
File without changes
test CHANGED
@@ -137,3 +137,73 @@
137
137
 
138
138
 
139
139
  もし変なところがありましたら、指摘いただけますと幸いです。よろしくお願いいたします。
140
+
141
+ 詳細エラーについて、追加いたします。
142
+
143
+
144
+
145
+ ```ここに言語を入力
146
+
147
+ [root@localhost ansible]# ansible all -m ping -i hosts -vvvvv
148
+
149
+ ansible 2.9.13
150
+
151
+ config file = /etc/ansible/ansible.cfg
152
+
153
+ configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
154
+
155
+ ansible python module location = /usr/lib/python2.7/site-packages/ansible
156
+
157
+ executable location = /usr/bin/ansible
158
+
159
+ python version = 2.7.5 (default, Apr 2 2020, 13:16:51) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
160
+
161
+ Using /etc/ansible/ansible.cfg as config file
162
+
163
+ setting up inventory plugins
164
+
165
+ host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
166
+
167
+ script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
168
+
169
+ auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
170
+
171
+ Parsed /etc/ansible/hosts inventory source with ini plugin
172
+
173
+ Loading callback plugin minimal of type stdout, v2.0 from /usr/lib/python2.7/site-packages/ansible/plugins/callback/minimal.pyc
174
+
175
+ META: ran handlers
176
+
177
+ <destination> ESTABLISH SSH CONNECTION FOR USER: None
178
+
179
+ <destination> SSH: ansible.cfg set ssh_args: (-o)(ControlPersist=15m)(-F)(/etc/ansible/ssh_config)(-q)
180
+
181
+ <destination> SSH: ansible_password/ansible_ssh_password not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
182
+
183
+ <destination> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
184
+
185
+ <destination> SSH: PlayContext set ssh_common_args: ()
186
+
187
+ <destination> SSH: PlayContext set ssh_extra_args: ()
188
+
189
+ <destination> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/%h-%r)
190
+
191
+ <destination> SSH: EXEC ssh -vvv -o ControlPersist=15m -F /etc/ansible/ssh_config -q -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/%h-%r destination '/bin/sh -c '"'"'echo ~ && sleep 0'"'"''
192
+
193
+ Enter passphrase for key '/root/.ssh/id_ecdsa':
194
+
195
+ <destination> (255, '', 'Killed by signal 1.\r\n')
196
+
197
+ destination | UNREACHABLE! => {
198
+
199
+ "changed": false,
200
+
201
+ "msg": "Failed to connect to the host via ssh: Killed by signal 1.",
202
+
203
+ "unreachable": true
204
+
205
+ }
206
+
207
+
208
+
209
+ ```