<?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 Multiple Domains with Different Policy Package in Ansible</title>
    <link>https://community.checkpoint.com/t5/Ansible/Multiple-Domains-with-Different-Policy-Package/m-p/110376#M425</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to use Ansible to Configure Multiple domains on my Checkpoint and apply several(different) verification policies.&lt;BR /&gt;&lt;BR /&gt;For example:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;playbook.yml&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="p p-Indicator"&gt;-&lt;/SPAN&gt; &lt;SPAN class="nt"&gt;name&lt;/SPAN&gt;&lt;SPAN class="p"&gt;:&lt;/SPAN&gt; &lt;SPAN class="l l-Scalar l-Scalar-Plain"&gt;verify-policy&lt;/SPAN&gt;
  &lt;SPAN class="nt"&gt;cp_mgmt_verify_policy&lt;/SPAN&gt;&lt;SPAN class="p"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="nt"&gt;policy_package&lt;/SPAN&gt;&lt;SPAN class="p"&gt;:&lt;/SPAN&gt; A&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class="nt"&gt;policy_package&lt;/SPAN&gt;&lt;SPAN class="p"&gt;:&lt;/SPAN&gt; #Contains A,B,C,D,E,F,G,H   policy package&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="p p-Indicator"&gt;vars:&lt;BR /&gt; ansible_checkpoint_domain:#"Domain Z", Domain Y, Domain X, Domain W&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="p p-Indicator"&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;:&amp;nbsp; How can I write my playbook and inventory such that each domain (W, X , Y , Z) can communicate interchangeably with any of the policy_package?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2021 02:00:04 GMT</pubDate>
    <dc:creator>ukohae</dc:creator>
    <dc:date>2021-02-10T02:00:04Z</dc:date>
    <item>
      <title>Multiple Domains with Different Policy Package</title>
      <link>https://community.checkpoint.com/t5/Ansible/Multiple-Domains-with-Different-Policy-Package/m-p/110376#M425</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to use Ansible to Configure Multiple domains on my Checkpoint and apply several(different) verification policies.&lt;BR /&gt;&lt;BR /&gt;For example:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;playbook.yml&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="p p-Indicator"&gt;-&lt;/SPAN&gt; &lt;SPAN class="nt"&gt;name&lt;/SPAN&gt;&lt;SPAN class="p"&gt;:&lt;/SPAN&gt; &lt;SPAN class="l l-Scalar l-Scalar-Plain"&gt;verify-policy&lt;/SPAN&gt;
  &lt;SPAN class="nt"&gt;cp_mgmt_verify_policy&lt;/SPAN&gt;&lt;SPAN class="p"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="nt"&gt;policy_package&lt;/SPAN&gt;&lt;SPAN class="p"&gt;:&lt;/SPAN&gt; A&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class="nt"&gt;policy_package&lt;/SPAN&gt;&lt;SPAN class="p"&gt;:&lt;/SPAN&gt; #Contains A,B,C,D,E,F,G,H   policy package&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="p p-Indicator"&gt;vars:&lt;BR /&gt; ansible_checkpoint_domain:#"Domain Z", Domain Y, Domain X, Domain W&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="p p-Indicator"&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;:&amp;nbsp; How can I write my playbook and inventory such that each domain (W, X , Y , Z) can communicate interchangeably with any of the policy_package?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 02:00:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Multiple-Domains-with-Different-Policy-Package/m-p/110376#M425</guid>
      <dc:creator>ukohae</dc:creator>
      <dc:date>2021-02-10T02:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Domains with Different Policy Package</title>
      <link>https://community.checkpoint.com/t5/Ansible/Multiple-Domains-with-Different-Policy-Package/m-p/110378#M426</link>
      <description>&lt;P&gt;I assume you'd use loops or something similar, which would execute the verify-policy action on each item in the list.&lt;BR /&gt;See:&amp;nbsp;&lt;A href="https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html" target="_blank"&gt;https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 02:26:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Multiple-Domains-with-Different-Policy-Package/m-p/110378#M426</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-02-10T02:26:00Z</dc:date>
    </item>
  </channel>
</rss>

