<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Ansible - sftp transfer mechanism in Code Exchange</title>
    <link>https://community.cisco.com/t5/code-exchange/ansible-sftp-transfer-mechanism/m-p/4975042#M48</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/244740"&gt;@Netmart&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you do that as suggested ?&lt;/P&gt;&lt;P&gt;ANSIBLE_DEBUG=1 ansible-playbook your-playbook.yml&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This will provide more detailed debugging information, and you may be able to identify the specific reason for the SFTP transfer failure. &lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 10 Dec 2023 10:59:14 GMT</pubDate>
    <dc:creator>M02@rt37</dc:creator>
    <dc:date>2023-12-10T10:59:14Z</dc:date>
    <item>
      <title>Ansible - sftp transfer mechanism</title>
      <link>https://community.cisco.com/t5/code-exchange/ansible-sftp-transfer-mechanism/m-p/4974999#M47</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;When Ansible is trying to connect to host [Cisco Cat 6, the following error message appears:&lt;/P&gt;&lt;P&gt;[WARNING]: &lt;STRONG&gt;sftp transfer mechanism failed &lt;/STRONG&gt;on [172.16.1.1]. Use ANSIBLE_DEBUG=1 to see detailed information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below you will find an extract of debug log:&lt;/P&gt;&lt;P&gt;2084530 1702194010.51532: variable 'ansible_host' from source: host vars for cisco.switch@cisco.com'&lt;/P&gt;&lt;P&gt;2084530 1702194010.51624: Set connection var ansible_connection to ssh&lt;/P&gt;&lt;P&gt;2084530 1702194010.51628: Set connection var ansible_pipelining to False&lt;/P&gt;&lt;P&gt;2084530 1702194010.51630: Set connection var ansible_module_compression to ZIP_DEFLATED&lt;/P&gt;&lt;P&gt;2084530 1702194010.51632: Set connection var ansible_shell_executable to /bin/sh&lt;/P&gt;&lt;P&gt;2084530 1702194010.51633: Set connection var ansible_shell_type to sh&lt;/P&gt;&lt;P&gt;2084530 1702194010.51634: Set connection var ansible_user to cisco&lt;/P&gt;&lt;P&gt;2084530 1702194010.51637: Set connection var ansible_timeout to 10&lt;/P&gt;&lt;P&gt;2084530 1702194010.51652: variable 'ansible_shell_executable' from source: unknown&lt;/P&gt;&lt;P&gt;2084530 1702194010.51653: variable 'ansible_connection' from source: unknown&lt;/P&gt;&lt;P&gt;2084530 1702194010.51654: variable 'ansible_module_compression' from source: unknown&lt;/P&gt;&lt;P&gt;2084530 1702194010.51655: variable 'ansible_shell_type' from source: unknown&lt;/P&gt;&lt;P&gt;2084530 1702194010.51655: variable 'ansible_shell_executable' from source: unknow&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;[WARNING]: &lt;STRONG&gt;sftp transfer mechanism failed &lt;/STRONG&gt;on [172.16.1.1]. Use ANSIBLE_DEBUG=1 to see detailed information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Dec 2023 09:09:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/code-exchange/ansible-sftp-transfer-mechanism/m-p/4974999#M47</guid>
      <dc:creator>Netmart</dc:creator>
      <dc:date>2023-12-10T09:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible - sftp transfer mechanism</title>
      <link>https://community.cisco.com/t5/code-exchange/ansible-sftp-transfer-mechanism/m-p/4975042#M48</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/244740"&gt;@Netmart&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you do that as suggested ?&lt;/P&gt;&lt;P&gt;ANSIBLE_DEBUG=1 ansible-playbook your-playbook.yml&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This will provide more detailed debugging information, and you may be able to identify the specific reason for the SFTP transfer failure. &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Dec 2023 10:59:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/code-exchange/ansible-sftp-transfer-mechanism/m-p/4975042#M48</guid>
      <dc:creator>M02@rt37</dc:creator>
      <dc:date>2023-12-10T10:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible - sftp transfer mechanism</title>
      <link>https://community.cisco.com/t5/code-exchange/ansible-sftp-transfer-mechanism/m-p/4975264#M49</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Attached you will find the debug file.&lt;/P&gt;&lt;P&gt;Here is some extract of it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2084530 1702194010.51532: variable 'ansible_host' from source: host vars for 'CiscoCat6500.cisco.com '&lt;/P&gt;&lt;P&gt;2084530 1702194010.51624: Set connection var ansible_connection to ssh&lt;/P&gt;&lt;P&gt;2084530 1702194010.51628: Set connection var ansible_pipelining to False&lt;/P&gt;&lt;P&gt;2084530 1702194010.51630: Set connection var ansible_module_compression to ZIP_DEFLATED&lt;/P&gt;&lt;P&gt;2084530 1702194010.51632: Set connection var ansible_shell_executable to /bin/sh&lt;/P&gt;&lt;P&gt;2084530 1702194010.51633: Set connection var ansible_shell_type to sh&lt;/P&gt;&lt;P&gt;2084530 1702194010.51634: Set connection var ansible_user to cisco&lt;/P&gt;&lt;P&gt;2084530 1702194010.51637: Set connection var ansible_timeout to 10&lt;/P&gt;&lt;P&gt;2084530 1702194010.51652: variable 'ansible_shell_executable' from source: unknown&lt;/P&gt;&lt;P&gt;2084530 1702194010.51653: variable 'ansible_connection' from source: unknown&lt;/P&gt;&lt;P&gt;2084530 1702194010.51654: variable 'ansible_module_compression' from source: unknown&lt;/P&gt;&lt;P&gt;2084530 1702194010.51655: variable 'ansible_shell_type' from source: unknown&lt;/P&gt;&lt;P&gt;2084530 1702194010.51655: variable 'ansible_shell_executable' from source: unknow&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;[WARNING]: &lt;STRONG&gt;sftp transfer mechanism failed &lt;/STRONG&gt;on [172.16.0.1]. Use ANSIBLE_DEBUG=1 to see detailed information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 06:13:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/code-exchange/ansible-sftp-transfer-mechanism/m-p/4975264#M49</guid>
      <dc:creator>Netmart</dc:creator>
      <dc:date>2023-12-11T06:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible - sftp transfer mechanism</title>
      <link>https://community.cisco.com/t5/code-exchange/ansible-sftp-transfer-mechanism/m-p/4975292#M50</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/244740"&gt;@Netmart&lt;/a&gt;&amp;nbsp;for that output.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[WARNING]: scp transfer mechanism failed on [172.28.159.255].&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;What is this ip ?&lt;/P&gt;&lt;P&gt;Do you check if you can access by ssh the remote equipement from the host you execute this playbook ?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 06:53:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/code-exchange/ansible-sftp-transfer-mechanism/m-p/4975292#M50</guid>
      <dc:creator>M02@rt37</dc:creator>
      <dc:date>2023-12-11T06:53:59Z</dc:date>
    </item>
  </channel>
</rss>

