<?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 Checkpoint Run Script Module - Change Directory in Ansible</title>
    <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Run-Script-Module-Change-Directory/m-p/126970#M575</link>
    <description>&lt;P&gt;I presume the script itself could set the working directory.&lt;BR /&gt;Not sure if you can do it as part of the run-script call itself.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Aug 2021 22:56:04 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2021-08-13T22:56:04Z</dc:date>
    <item>
      <title>Ansible Checkpoint Run Script Module - Change Directory</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Run-Script-Module-Change-Directory/m-p/126311#M574</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it possible to change the directory from the current working directory when using the&amp;nbsp;check_point.mgmt.cp_mgmt_run_script module?&lt;/P&gt;&lt;P&gt;I'm running some python scripts directly on the management server and the cpapi folder from the Checkpoint Python SDK needs to reside in the same folder the script resides in.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is an 'args' parameter for this module but I'm not sure if chdir is an option as it is when using the&amp;nbsp;ansible.builtin.script module.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.ansible.com/ansible/latest/collections/check_point/mgmt/cp_mgmt_run_script_module.html" target="_blank"&gt;https://docs.ansible.com/ansible/latest/collections/check_point/mgmt/cp_mgmt_run_script_module.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 07:05:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Run-Script-Module-Change-Directory/m-p/126311#M574</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-08-11T07:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible Checkpoint Run Script Module - Change Directory</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Run-Script-Module-Change-Directory/m-p/126970#M575</link>
      <description>&lt;P&gt;I presume the script itself could set the working directory.&lt;BR /&gt;Not sure if you can do it as part of the run-script call itself.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 22:56:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-Checkpoint-Run-Script-Module-Change-Directory/m-p/126970#M575</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-08-13T22:56:04Z</dc:date>
    </item>
  </channel>
</rss>

