<?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 Ansible for creating NAT Rules, Hosts etc. - getting success but objects are not saved! in Ansible</title>
    <link>https://community.checkpoint.com/t5/Ansible/Ansible-for-creating-NAT-Rules-Hosts-etc-getting-success-but/m-p/23855#M114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a DevOps practitioner, and currently helping a client automate the provisioning and configuration of CheckPoint firewalls in Azure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created an Ansible Playbook with sample tasks to add Host, and NAT Rule, with no errors but somehow, these objects are not saved.&amp;nbsp; Has anyone run into this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Playbook Contents&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV style="color: #ffffff; background-color: #193549; font-weight: normal; font-size: 12px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #ffffff;"&gt;---&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt;- name: &lt;/SPAN&gt;&lt;SPAN style="color: #a5ff90;"&gt;"login"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; check_point_mgmt:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; command:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; login&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; parameters:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; username:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; "&lt;/SPAN&gt;&lt;SPAN style="color: #ffc600;"&gt;{{mgmt_user}}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; password:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; "&lt;/SPAN&gt;&lt;SPAN style="color: #ffc600;"&gt;{{mgmt_password}}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; management:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; "&lt;/SPAN&gt;&lt;SPAN style="color: #ffc600;"&gt;{{mgmt_server}}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; fingerprint:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; "&lt;/SPAN&gt;&lt;SPAN style="color: #ffc600;"&gt;{{mgmt_fingerprint}}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; register:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; login_response&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt;- name: &lt;/SPAN&gt;&lt;SPAN style="color: #a5ff90;"&gt;"Get TCP Service" &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; check_point_mgmt:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; command:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; show-service-tcp&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; parameters:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; name:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; "DAS-Granite-FaceClient-20003-TCP-443"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ffffff;"&gt; session-data: "&lt;/SPAN&gt;&lt;SPAN style="color: #ffc600;"&gt;{{login_response}}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt;- name: &lt;/SPAN&gt;&lt;SPAN style="color: #a5ff90;"&gt;"publish"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; check_point_mgmt:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; command:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; publish&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ffffff;"&gt; session-data: "&lt;/SPAN&gt;&lt;SPAN style="color: #ffc600;"&gt;{{login_response}}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Execution output&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;All tasks succeed. Zero errors!&lt;/P&gt;&lt;P&gt;&amp;lt;127.0.0.1&amp;gt; EXEC /bin/sh -c 'rm -f -r /Users/sharepointoscar/.ansible/tmp/ansible-tmp-1526006124.196667-230724803151205/ &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;ok: [127.0.0.1] =&amp;gt; {&lt;BR /&gt;"changed": false,&lt;BR /&gt;"invocation": {&lt;BR /&gt;"module_args": {&lt;BR /&gt;"command": "logout",&lt;BR /&gt;"fingerprint": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"session-data": "{'failed': False, 'changed': False, 'response': {'url': 'ipredacted:443', 'domain': None, 'sid': '-JkGsmtdamz-UqAG067hXCl1tTFQvUvkfDH9KB1_5P4', 'fingerprint':'redacted"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt; &lt;STRONG&gt;"response": {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; "message": "OK"&lt;/STRONG&gt;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;META: ran handlers&lt;BR /&gt;META: ran handlers&lt;BR /&gt;____________&lt;BR /&gt;&amp;lt; PLAY RECAP &amp;gt;&lt;BR /&gt;------------&lt;BR /&gt;\ ^__^&lt;BR /&gt;\ (oo)\_______&lt;BR /&gt;(__)\ )\/\&lt;BR /&gt;||----w |&lt;BR /&gt;|| ||&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;127.0.0.1 : ok=7&lt;/STRONG&gt; changed=0 unreachable=0 failed=0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2018 15:38:43 GMT</pubDate>
    <dc:creator>Oscar_Medina1</dc:creator>
    <dc:date>2018-05-11T15:38:43Z</dc:date>
    <item>
      <title>Ansible for creating NAT Rules, Hosts etc. - getting success but objects are not saved!</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-for-creating-NAT-Rules-Hosts-etc-getting-success-but/m-p/23855#M114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a DevOps practitioner, and currently helping a client automate the provisioning and configuration of CheckPoint firewalls in Azure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created an Ansible Playbook with sample tasks to add Host, and NAT Rule, with no errors but somehow, these objects are not saved.&amp;nbsp; Has anyone run into this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Playbook Contents&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV style="color: #ffffff; background-color: #193549; font-weight: normal; font-size: 12px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #ffffff;"&gt;---&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt;- name: &lt;/SPAN&gt;&lt;SPAN style="color: #a5ff90;"&gt;"login"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; check_point_mgmt:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; command:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; login&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; parameters:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; username:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; "&lt;/SPAN&gt;&lt;SPAN style="color: #ffc600;"&gt;{{mgmt_user}}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; password:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; "&lt;/SPAN&gt;&lt;SPAN style="color: #ffc600;"&gt;{{mgmt_password}}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; management:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; "&lt;/SPAN&gt;&lt;SPAN style="color: #ffc600;"&gt;{{mgmt_server}}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; fingerprint:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; "&lt;/SPAN&gt;&lt;SPAN style="color: #ffc600;"&gt;{{mgmt_fingerprint}}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; register:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; login_response&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt;- name: &lt;/SPAN&gt;&lt;SPAN style="color: #a5ff90;"&gt;"Get TCP Service" &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; check_point_mgmt:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; command:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; show-service-tcp&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; parameters:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; name:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; "DAS-Granite-FaceClient-20003-TCP-443"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ffffff;"&gt; session-data: "&lt;/SPAN&gt;&lt;SPAN style="color: #ffc600;"&gt;{{login_response}}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt;- name: &lt;/SPAN&gt;&lt;SPAN style="color: #a5ff90;"&gt;"publish"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; check_point_mgmt:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt; command:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; publish&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #ffffff;"&gt; session-data: "&lt;/SPAN&gt;&lt;SPAN style="color: #ffc600;"&gt;{{login_response}}&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Execution output&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;All tasks succeed. Zero errors!&lt;/P&gt;&lt;P&gt;&amp;lt;127.0.0.1&amp;gt; EXEC /bin/sh -c 'rm -f -r /Users/sharepointoscar/.ansible/tmp/ansible-tmp-1526006124.196667-230724803151205/ &amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp; sleep 0'&lt;BR /&gt;ok: [127.0.0.1] =&amp;gt; {&lt;BR /&gt;"changed": false,&lt;BR /&gt;"invocation": {&lt;BR /&gt;"module_args": {&lt;BR /&gt;"command": "logout",&lt;BR /&gt;"fingerprint": null,&lt;BR /&gt;"parameters": null,&lt;BR /&gt;"session-data": "{'failed': False, 'changed': False, 'response': {'url': 'ipredacted:443', 'domain': None, 'sid': '-JkGsmtdamz-UqAG067hXCl1tTFQvUvkfDH9KB1_5P4', 'fingerprint':'redacted"&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt; &lt;STRONG&gt;"response": {&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; "message": "OK"&lt;/STRONG&gt;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;META: ran handlers&lt;BR /&gt;META: ran handlers&lt;BR /&gt;____________&lt;BR /&gt;&amp;lt; PLAY RECAP &amp;gt;&lt;BR /&gt;------------&lt;BR /&gt;\ ^__^&lt;BR /&gt;\ (oo)\_______&lt;BR /&gt;(__)\ )\/\&lt;BR /&gt;||----w |&lt;BR /&gt;|| ||&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;127.0.0.1 : ok=7&lt;/STRONG&gt; changed=0 unreachable=0 failed=0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 15:38:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-for-creating-NAT-Rules-Hosts-etc-getting-success-but/m-p/23855#M114</guid>
      <dc:creator>Oscar_Medina1</dc:creator>
      <dc:date>2018-05-11T15:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible for creating NAT Rules, Hosts etc. - getting success but objects are not saved!</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-for-creating-NAT-Rules-Hosts-etc-getting-success-but/m-p/23856#M115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oscar,&lt;/P&gt;&lt;P&gt;Have you tried using our&amp;nbsp;&lt;A href="https://github.com/CheckPointSW/cpAnsible"&gt;cpAnsible&lt;/A&gt;&amp;nbsp;library on GitHub?&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 15:44:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-for-creating-NAT-Rules-Hosts-etc-getting-success-but/m-p/23856#M115</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-05-11T15:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible for creating NAT Rules, Hosts etc. - getting success but objects are not saved!</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-for-creating-NAT-Rules-Hosts-etc-getting-success-but/m-p/23857#M116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;A href="https://community.checkpoint.com/migrated-users/47511"&gt;Robert Decker&lt;/A&gt;‌ . Yes, I essentially&amp;nbsp;grabbed the sample stuff from there and configured my environment accordingly.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Interesting thing is, PostMan calls with same username/password combination work.&amp;nbsp; The last call using Postman is "Publish".&lt;BR /&gt;&lt;BR /&gt;I do see the SID and task ID being passed when I execute the Ansible last task of "Publish" as well, and I get a good response...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 16:20:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-for-creating-NAT-Rules-Hosts-etc-getting-success-but/m-p/23857#M116</guid>
      <dc:creator>Oscar_Medina1</dc:creator>
      <dc:date>2018-05-11T16:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible for creating NAT Rules, Hosts etc. - getting success but objects are not saved!</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-for-creating-NAT-Rules-Hosts-etc-getting-success-but/m-p/23858#M117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly. Changes are saved, but not published for everyone else to see.&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.checkpoint.com/thread/5042-using-mgmtcli-without-automatic-publish#comment-5982" title="https://community.checkpoint.com/thread/5042-using-mgmtcli-without-automatic-publish#comment-5982"&gt;https://community.checkpoint.com/thread/5042-using-mgmtcli-without-automatic-publish#comment-5982&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 17:54:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-for-creating-NAT-Rules-Hosts-etc-getting-success-but/m-p/23858#M117</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2018-05-11T17:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible for creating NAT Rules, Hosts etc. - getting success but objects are not saved!</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-for-creating-NAT-Rules-Hosts-etc-getting-success-but/m-p/23859#M118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;A href="https://community.checkpoint.com/migrated-users/47511"&gt;Robert Decker&lt;/A&gt;‌ . I downloaded and setup that cpAnsible.&amp;nbsp; I was using an old one.&amp;nbsp; My environment required for me to specify the ansible interpreter since I have multiple versions of Python.&amp;nbsp; To do that, I simply added this to the Group VARS as follows:&lt;/P&gt;&lt;DIV style="color: #ffffff; background-color: #193549; font-weight: normal; font-size: 12px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #ff9d00;"&gt;ansible_python_interpreter:&lt;/SPAN&gt;&lt;SPAN style="color: #ffffff;"&gt; "/usr/local/bin/python2.7"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So two things that helped:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Download and setup the cpAnsible as per &lt;A href="https://community.checkpoint.com/migrated-users/47511"&gt;Robert Decker&lt;/A&gt;‌ suggestion&lt;/LI&gt;&lt;LI&gt;Ensure that we run Ansible with Python 2.7 as anything in the 3.x will not work.&amp;nbsp; This is done by specifying it in the group_vars.yml file for a typical ansible project structure.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And that does it, thanks for all of your help &lt;A href="https://community.checkpoint.com/migrated-users/6703"&gt;Tomer Sole&lt;/A&gt;‌ and &lt;A href="https://community.checkpoint.com/migrated-users/47511"&gt;Robert Decker&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was a weird one &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;, hope it helps someone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;@SharePointOscar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 20:17:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-for-creating-NAT-Rules-Hosts-etc-getting-success-but/m-p/23859#M118</guid>
      <dc:creator>Oscar_Medina1</dc:creator>
      <dc:date>2018-05-11T20:17:56Z</dc:date>
    </item>
  </channel>
</rss>

