<?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-playbook --diff --check parameters are not working in Ansible</title>
    <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257090#M858</link>
    <description>&lt;P&gt;"&lt;SPAN&gt;fix it for good" means implementing the check mode?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grimacing_face:"&gt;😬&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Sep 2025 09:18:06 GMT</pubDate>
    <dc:creator>mib1185</dc:creator>
    <dc:date>2025-09-11T09:18:06Z</dc:date>
    <item>
      <title>ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244084#M832</link>
      <description>&lt;P&gt;Hello ansible users!&lt;/P&gt;
&lt;P&gt;I used --check for an ansible-playbook (&lt;SPAN&gt;check_point.gaia.cp_gaia_password_policy&lt;/SPAN&gt;). Ansible should just check it and not change anything. I was&amp;nbsp;surprised that the configuration has been changed.&lt;/P&gt;
&lt;P&gt;Also --diff didn't show any changes.&lt;/P&gt;
&lt;P&gt;Are those parameters not available? How can we use ansible in production if you can not check which changes will be made during the next run?&lt;/P&gt;
&lt;P&gt;Bye&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 10:14:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244084#M832</guid>
      <dc:creator>Daniel_</dc:creator>
      <dc:date>2025-03-19T10:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244202#M833</link>
      <description>&lt;P&gt;What is the playbook you were running?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 13:44:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244202#M833</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2025-03-19T13:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244212#M834</link>
      <description>&lt;P&gt;I tried it with&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;- name: OS Modification
  gather_facts: false
  hosts: all
  connection: httpapi
  tasks:
    - name: Change password policy
      check_point.gaia.cp_gaia_password_policy:
        lock_settings: {
          'password_expiration_days': 60
        }&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Mar 2025 14:20:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244212#M834</guid>
      <dc:creator>Daniel_</dc:creator>
      <dc:date>2025-03-19T14:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244224#M835</link>
      <description>&lt;P&gt;Maybe&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/85203"&gt;@Eden_Brillant&lt;/a&gt;&amp;nbsp;has a suggestion here, but it seems like this might be a bug.&lt;BR /&gt;What version of management is involved here as well as the version of the Ansible Gaia Collection used.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 15:47:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244224#M835</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2025-03-19T15:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244227#M836</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;What version of management is involved here as well as the version of the Ansible Gaia Collection used.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The gateway is R81.20. Or which version do you mean with management? I use&amp;nbsp;check_point.gaia....&lt;/P&gt;
&lt;P&gt;Ansible collections are&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;$ ansible-galaxy collection list |grep check
check_point.gaia                         7.0.0  
check_point.mgmt                         6.3.0  &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 15:53:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244227#M836</guid>
      <dc:creator>Daniel_</dc:creator>
      <dc:date>2025-03-19T15:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244266#M837</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/15278"&gt;@Majd_Sharkia&lt;/a&gt;&amp;nbsp;for GAIA collection&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 07:01:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244266#M837</guid>
      <dc:creator>Eden_Brillant</dc:creator>
      <dc:date>2025-03-20T07:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244324#M838</link>
      <description>&lt;P&gt;From the source --check should be supported&lt;BR /&gt;&lt;A href="https://github.com/CheckPointSW/CheckPointAnsibleGAIACollection/blob/v7.0.0/plugins/modules/cp_gaia_password_policy.py#L33" target="_self"&gt;https://github.com/CheckPointSW/CheckPointAnsibleGAIACollection/blob/v7.0.0/plugins/modules/cp_gaia_password_policy.py#L33&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And&amp;nbsp;&lt;SPAN&gt;cp_gaia_snmp_user is also not working (and documented with&amp;nbsp;cp_snmp_gaia_user)&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":sleepy_face:"&gt;😪&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 14:00:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244324#M838</guid>
      <dc:creator>Daniel_</dc:creator>
      <dc:date>2025-03-20T14:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244371#M839</link>
      <description>&lt;P&gt;Hi Daniel, From a quick check, it seems that Gaia Collection doesn't support that, although it's documented as it's supported. (Sorry for that)&lt;/P&gt;
&lt;P&gt;We will check that and add it to our roadmap for adding/fixing this support in the next releases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 18:48:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/244371#M839</guid>
      <dc:creator>Majd_Sharkia</dc:creator>
      <dc:date>2025-03-20T18:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/252561#M842</link>
      <description>&lt;P&gt;This issue was documented in&amp;nbsp;&lt;A href="https://support.checkpoint.com/results/sk/sk183620" target="_blank" rel="noopener"&gt;sk183620&lt;/A&gt;&amp;nbsp;- you will see the final changes ~15 minutes from now&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 13:30:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/252561#M842</guid>
      <dc:creator>Sergei_Shir</dc:creator>
      <dc:date>2025-07-03T13:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/255202#M851</link>
      <description>&lt;P&gt;If someone tries to open a SR for this: Don't waste you time. I already opened one. It's was closed, because it's an RFE now &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Aug 2025 06:59:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/255202#M851</guid>
      <dc:creator>Daniel_</dc:creator>
      <dc:date>2025-08-15T06:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257009#M852</link>
      <description>&lt;P&gt;Sorry, but is this serious?&lt;/P&gt;&lt;P&gt;The cause is "the docs mistakenly shows that it supports the check mode" and the solution is "check mode is not support, please open an Request for Enhancement"&lt;/P&gt;&lt;P&gt;What about (&lt;EM&gt;at least&lt;/EM&gt;) adjusting the documention of this ansible collection, so it doesn't mention the check mode as supported anymore?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 11:28:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257009#M852</guid>
      <dc:creator>mib1185</dc:creator>
      <dc:date>2025-09-10T11:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257024#M853</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/119473"&gt;@mib1185&lt;/a&gt;&amp;nbsp;I admire your passion. &lt;BR /&gt;&lt;BR /&gt;However, are you sure the issue is not already fixed in the Ansible Galaxy documentation? I just checked and did not find any documentation reference to "&lt;SPAN&gt;--check" support other than an issue notification there.&lt;BR /&gt;&lt;BR /&gt;Do I miss something here?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 13:21:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257024#M853</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2025-09-10T13:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257026#M854</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/181"&gt;@_Val_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;each single module documentation mentions "Supports check_mode" under the Notes section - eq. &lt;A href="https://galaxy.ansible.com/ui/repo/published/check_point/gaia/content/module/cp_gaia_alias_interface/" target="_blank"&gt;cp_gaia_alias_interface&lt;/A&gt; (&lt;EM&gt;but also all other module docs&lt;/EM&gt;) as the docs on Ansible Galaxy are taken from the &lt;A href="https://github.com/CheckPointSW/CheckPointAnsibleGAIACollection/tree/master/docs" target="_blank"&gt;source repository&lt;/A&gt;. But not only the documentation mentions it, also the code itself still enables the check mode support for each module (see &lt;A href="https://github.com/search?q=repo%3ACheckPointSW%2FCheckPointAnsibleGAIACollection%20supports_check_mode%3DTrue&amp;amp;type=code" target="_self"&gt;here)&lt;/A&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 13:37:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257026#M854</guid>
      <dc:creator>mib1185</dc:creator>
      <dc:date>2025-09-10T13:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257029#M855</link>
      <description>&lt;P&gt;It's still documented&lt;/P&gt;
&lt;P&gt;&lt;A href="https://galaxy.ansible.com/ui/repo/published/check_point/gaia/content/module/cp_gaia_password_policy/?keywords=passw#notes" target="_blank"&gt;https://galaxy.ansible.com/ui/repo/published/check_point/gaia/content/module/cp_gaia_password_policy/?keywords=passw#notes&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It would be great to get a fix for this and not just a modification in the documentation. Using Ansible without check mode greatly reduces the advantages of Ansible.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 13:40:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257029#M855</guid>
      <dc:creator>Daniel_</dc:creator>
      <dc:date>2025-09-10T13:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257035#M856</link>
      <description>&lt;P&gt;but yeah, I fully agree with&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/861"&gt;@Daniel_&lt;/a&gt;&amp;nbsp;: "...&amp;nbsp;Using Ansible without check mode greatly reduces the advantages of Ansible."&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 13:53:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257035#M856</guid>
      <dc:creator>mib1185</dc:creator>
      <dc:date>2025-09-10T13:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257084#M857</link>
      <description>&lt;P&gt;Thanks for pointing this out, I was searching for "--check", and it is not there.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I will try finding who is responsible so we can fix it for good&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2025 07:14:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257084#M857</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2025-09-11T07:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257090#M858</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;fix it for good" means implementing the check mode?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grimacing_face:"&gt;😬&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2025 09:18:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257090#M858</guid>
      <dc:creator>mib1185</dc:creator>
      <dc:date>2025-09-11T09:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: ansible-playbook --diff --check parameters are not working</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257107#M859</link>
      <description>&lt;P&gt;I assume he means getting the documentation updated.&lt;BR /&gt;Fixing "for good" (meaning the feature is actually there and works) is very likely an &lt;A href="https://usercenter.checkpoint.com/ucapps/rfe/" target="_self"&gt;RFE&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2025 14:45:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-playbook-diff-check-parameters-are-not-working/m-p/257107#M859</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2025-09-11T14:45:17Z</dc:date>
    </item>
  </channel>
</rss>

