<?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.module_utils.connection.ConnectionError: string indices must be integers in Ansible</title>
    <link>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/204690#M776</link>
    <description>&lt;P&gt;If you are still receiving the "&lt;SPAN&gt;string indices must be integers" error then there must be a problem with your intent data or general Ansible connection to the server, not in the task for the module. That error is a general error message that can occur for multiple reasons. I recommend opening an SR with TAC.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jan 2024 15:08:47 GMT</pubDate>
    <dc:creator>Erik_Lagzdins</dc:creator>
    <dc:date>2024-01-31T15:08:47Z</dc:date>
    <item>
      <title>ansible.module_utils.connection.ConnectionError: string indices must be integers</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/121861#M556</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I just rebuilt my Ubuntu and re-installed all modules that I had before for my lab. I know my playbook worked previously but not sure why not this time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.module_utils.connection.ConnectionError: string indices must be integers
fatal: [checkpoint]: FAILED! =&amp;gt; {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/home/osboxes/.ansible/tmp/ansible-local-4258683ilf5oi0/ansible-tmp-1624393456.3348339-425981-7450313037159/AnsiballZ_cp_mgmt_network.py\", line 100, in &amp;lt;module&amp;gt;\n    _ansiballz_main()\n  File \"/home/osboxes/.ansible/tmp/ansible-local-4258683ilf5oi0/ansible-tmp-1624393456.3348339-425981-7450313037159/AnsiballZ_cp_mgmt_network.py\", line 92, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/home/osboxes/.ansible/tmp/ansible-local-4258683ilf5oi0/ansible-tmp-1624393456.3348339-425981-7450313037159/AnsiballZ_cp_mgmt_network.py\", line 40, in invoke_module\n    runpy.run_module(mod_name='ansible_collections.check_point.mgmt.plugins.modules.cp_mgmt_network', init_globals=dict(_module_fqn='ansible_collections.check_point.mgmt.plugins.modules.cp_mgmt_network', _modlib_path=modlib_path),\n  File \"/usr/lib/python3.8/runpy.py\", line 207, in run_module\n    return _run_module_code(code, init_globals, run_name, mod_spec)\n  File \"/usr/lib/python3.8/runpy.py\", line 97, in _run_module_code\n    _run_code(code, mod_globals, init_globals,\n  File \"/usr/lib/python3.8/runpy.py\", line 87, in _run_code\n    exec(code, run_globals)\n  File \"/tmp/ansible_cp_mgmt_network_payload_tpg00l8b/ansible_cp_mgmt_network_payload.zip/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_network.py\", line 225, in &amp;lt;module&amp;gt;\n  File \"/tmp/ansible_cp_mgmt_network_payload_tpg00l8b/ansible_cp_mgmt_network_payload.zip/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_network.py\", line 220, in main\n  File \"/tmp/ansible_cp_mgmt_network_payload_tpg00l8b/ansible_cp_mgmt_network_payload.zip/ansible_collections/check_point/mgmt/plugins/module_utils/checkpoint.py\", line 265, in api_call\n  File \"/tmp/ansible_cp_mgmt_network_payload_tpg00l8b/ansible_cp_mgmt_network_payload.zip/ansible_collections/check_point/mgmt/plugins/module_utils/checkpoint.py\", line 65, in send_request\n  File \"/tmp/ansible_cp_mgmt_network_payload_tpg00l8b/ansible_cp_mgmt_network_payload.zip/ansible/module_utils/connection.py\", line 195, in __rpc__\nansible.module_utils.connection.ConnectionError: string indices must be integers\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my host.yml&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;---
firewall:
 hosts:
  checkpoint:
    ckp_sms_ngen ansible_host: 10.10.10.2
    ansible_httpapi_use_ssl: True
    ansible_httpapi_validate: False
    ansible_user: admin
    ansible_network_os: check_point.mgmt.checkpoint&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my playbook&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;---


- hosts: checkpoint
  connection: httpapi

  tasks:
   - name: Adding Site1 VL 10
     cp_mgmt_network:
      name: Site1-VL10-Nets
      state: present
      subnet: 10.10.10.0
      subnet_mask: 255.255.255.0
      comments: Network
      auto_publish_session: yes

   - name: Adding Site1 VL 20
     cp_mgmt_network:
      name: Site1-VL20-Nets
      state: present
      subnet: 10.10.20.0
      subnet_mask: 255.255.255.0
      comments: Desktop
      auto_publish_session: yes

   - name: Adding Site1 VL 30
     cp_mgmt_network:
      name: Site1-VL30-Nets
      state: present
      subnet: 10.10.30.0
      subnet_mask: 255.255.255.0
      comments: Secure
      auto_publish_session: yes

   - name: Adding Site2 VL 10
     cp_mgmt_network:
      name: Site2-VL10-Nets
      state: present
      subnet: 10.20.10.0
      subnet_mask: 255.255.255.0
      comments: Network
      auto_publish_session: yes

   - name: Adding Site2 VL 20
     cp_mgmt_network:
      name: Site2-VL20-Nets
      state: present
      subnet: 10.20.20.0
      subnet_mask: 255.255.255.0
      comments: Network
      auto_publish_session: yes

   - name: Adding Site2 VL 30
     cp_mgmt_network:
      name: Site2-VL30-Nets
      state: present
      subnet: 10.20.30.0
      subnet_mask: 255.255.255.0
      comments: Secure
      auto_publish_session: yes

   - name: Adding Site3 VL 10
     cp_mgmt_network:
      name: Site3-VL10-Nets
      state: present
      subnet: 10.30.10.0
      subnet_mask: 255.255.255.0
      comments: Network
      auto_publish_session: yes

   - name: Adding Site3 VL 20
     cp_mgmt_network:
      name: Site3-VL20-Nets
      state: present
      subnet: 10.30.20.0
      subnet_mask: 255.255.255.0
      comments: Desktop
      auto_publish_session: yes

   - name: Adding Site3 VL 30
     cp_mgmt_network:
      name: Site3-VL10-Nets
      state: present
      subnet: 10.30.30.0
      subnet_mask: 255.255.255.0
      comments: Secure
      auto_publish_session: yes&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 22:15:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/121861#M556</guid>
      <dc:creator>Tai_Bui</dc:creator>
      <dc:date>2021-06-22T22:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: ansible.module_utils.connection.ConnectionError: string indices must be integers</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/121862#M557</link>
      <description>&lt;P&gt;So what happens when you run the playbook with -vvv as suggested by the error message?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 23:16:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/121862#M557</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-06-22T23:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: ansible.module_utils.connection.ConnectionError: string indices must be integers</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/121877#M558</link>
      <description>&lt;P&gt;If you look carefully, your YML based inventory has an additional string &lt;EM&gt;ckp_sms_ngen&lt;/EM&gt; that should not be present. In that section, you need to provide &lt;EM&gt;var: value .&lt;/EM&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;---
firewall:
 hosts:
  checkpoint:
    ansible_host: 10.10.10.2
    ansible_httpapi_use_ssl: True
    ansible_httpapi_validate: False
    ansible_user: admin
    ansible_network_os: check_point.mgmt.checkpoint&lt;/LI-CODE&gt;
&lt;P&gt;Additionally, for the sake of readability, I would have a host-based host_var with all the values of networks as a var, and then use one task to loop over the networks var of that particular host. Also, don't publish on each and one task, but rather notify a handler for publish to call the&amp;nbsp;&lt;EM&gt;cp_mgmt_publish&lt;/EM&gt; module.&lt;/P&gt;
&lt;P&gt;host_vars/checkpoint.yml&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;networks:
  - name: Site1-VL10-Nets
    state: present
    subnet: 10.10.10.0
    subnet_mask: 255.255.255.0
    comments: Network
  - name: Site1-VL20-Nets
    state: present
    subnet: 10.10.20.0
    subnet_mask: 255.255.255.0
    comments: Desktop
  - name: Site1-VL30-Nets
    state: present
    subnet: 10.10.30.0
    subnet_mask: 255.255.255.0
    comments: Secure
  - name: Site2-VL10-Nets
    state: present
    subnet: 10.20.10.0
    subnet_mask: 255.255.255.0
    comments: Network
  - name: Site2-VL20-Nets
    state: present
    subnet: 10.20.20.0
    subnet_mask: 255.255.255.0
    comments: Network
  - name: Site2-VL30-Nets
    state: present
    subnet: 10.20.30.0
    subnet_mask: 255.255.255.0
    comments: Secure
  - name: Site3-VL10-Nets
    state: present
    subnet: 10.30.10.0
    subnet_mask: 255.255.255.0
    comments: Network
  - name: Site3-VL20-Nets
    state: present
    subnet: 10.30.20.0
    subnet_mask: 255.255.255.0
    comments: Desktop
  - name: Site3-VL30-Nets
    state: present
    subnet: 10.30.30.0
    subnet_mask: 255.255.255.0
    comments: Secure&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Then in the playbook call:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;---
- name: Test Playbook
  hosts: checkpoint
  gather_facts: false
  connection: httpapi
  collections:
    - check_point.mgmt
  tasks:
    - name: Add network object
      cp_mgmt_network:
        name: '{{ item.name }}'
        state: '{{ item.state }}'
        subnet: '{{ item.subnet }}'
        subnet_mask: '{{ item.subnet_mask }}'
        comments: '{{ item.comments }}'
      loop: '{{ networks }}'
      notify: publish

  handlers:
    - name: publish
      cp_mgmt_publish:&lt;/LI-CODE&gt;
&lt;P&gt;This way your playbook stays clean, quick, short, and your host (SMS/CMA) based host_var inventory file has data that it needs. Now you can manage the variable data file and leave the playbook file alone. Feel free to change the variable names as you see fit. I hope that helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;BR /&gt;Arturas Zalenekas&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 01:28:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/121877#M558</guid>
      <dc:creator>Art_Zalenekas</dc:creator>
      <dc:date>2021-06-23T01:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: ansible.module_utils.connection.ConnectionError: string indices must be integers</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/178907#M733</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any solution to this? Two years later and I'm facing the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&lt;BR /&gt;&lt;BR /&gt;fatal: [172.23.173.20]: FAILED! =&amp;gt; {&lt;BR /&gt;"changed": false,&lt;BR /&gt;"module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-local-4048lapt5vhg/ansible-tmp-1682330622.249256-4053-2356661523179/AnsiballZ_cp_mgmt_host_facts.py\", line 107, in &amp;lt;module&amp;gt;\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-local-4048lapt5vhg/ansible-tmp-1682330622.249256-4053-2356661523179/AnsiballZ_cp_mgmt_host_facts.py\", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-local-4048lapt5vhg/ansible-tmp-1682330622.249256-4053-2356661523179/AnsiballZ_cp_mgmt_host_facts.py\", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.check_point.mgmt.plugins.modules.cp_mgmt_host_facts', init_globals=dict(_module_fqn='ansible_collections.check_point.mgmt.plugins.modules.cp_mgmt_host_facts', _modlib_path=modlib_path),\n File \"/usr/lib/python3.10/runpy.py\", line 224, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib/python3.10/runpy.py\", line 96, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/lib/python3.10/runpy.py\", line 86, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_check_point.mgmt.cp_mgmt_host_facts_payload_bh0xo013/ansible_check_point.mgmt.cp_mgmt_host_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_host_facts.py\", line 145, in &amp;lt;module&amp;gt;\n File \"/tmp/ansible_check_point.mgmt.cp_mgmt_host_facts_payload_bh0xo013/ansible_check_point.mgmt.cp_mgmt_host_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/modules/cp_mgmt_host_facts.py\", line 138, in main\n File \"/tmp/ansible_check_point.mgmt.cp_mgmt_host_facts_payload_bh0xo013/ansible_check_point.mgmt.cp_mgmt_host_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/module_utils/checkpoint.py\", line 570, in api_call_facts\n File \"/tmp/ansible_check_point.mgmt.cp_mgmt_host_facts_payload_bh0xo013/ansible_check_point.mgmt.cp_mgmt_host_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/module_utils/checkpoint.py\", line 502, in handle_call\n File \"/tmp/ansible_check_point.mgmt.cp_mgmt_host_facts_payload_bh0xo013/ansible_check_point.mgmt.cp_mgmt_host_facts_payload.zip/ansible_collections/check_point/mgmt/plugins/module_utils/checkpoint.py\", line 247, in send_request\n File \"/tmp/ansible_check_point.mgmt.cp_mgmt_host_facts_payload_bh0xo013/ansible_check_point.mgmt.cp_mgmt_host_facts_payload.zip/ansible/module_utils/connection.py\", line 200, in __rpc__\nansible.module_utils.connection.ConnectionError: string indices must be integers\n",&lt;BR /&gt;"module_stdout": "",&lt;BR /&gt;"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",&lt;BR /&gt;"rc": 1&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 10:07:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/178907#M733</guid>
      <dc:creator>E_AGH107</dc:creator>
      <dc:date>2023-04-24T10:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: ansible.module_utils.connection.ConnectionError: string indices must be integers</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/187706#M741</link>
      <description>&lt;P&gt;The "string indices must be intergers" is a general error that can occur when the intent data is not in the correct format.&lt;/P&gt;
&lt;P&gt;However this error can also occur for others reasons. One cause of this exact error that I have experienced is forgetting to disable or bypass the proxy before running any playbooks with cp_mgmt modules. After setting up a new server, this could be extremely common scenario.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 14:32:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/187706#M741</guid>
      <dc:creator>Erik_Lagzdins</dc:creator>
      <dc:date>2023-07-26T14:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: ansible.module_utils.connection.ConnectionError: string indices must be integers</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/204563#M773</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can any one please update us if you have any new update. I am facing the same error when trying to update the parameter using the ansible module "&lt;SPAN&gt;check_point.mgmt.cp_mgmt_set_global_properties". Is there any changes to the inventory file needed?&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;SPAN class=""&gt;name&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; Set minimum password length
  &lt;SPAN class=""&gt;cp_mgmt_set_global_properties&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;&lt;STRONG&gt;user_directory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;
      - &lt;STRONG&gt;min_password_length&lt;/STRONG&gt;&lt;SPAN class=""&gt;: 14&lt;/SPAN&gt;
        &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 14:26:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/204563#M773</guid>
      <dc:creator>Nowshad</dc:creator>
      <dc:date>2024-01-30T14:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: ansible.module_utils.connection.ConnectionError: string indices must be integers</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/204589#M774</link>
      <description>&lt;P&gt;I was able to get the module to work correctly. I believe you have a minor typo, you do not need the hyphen before the min_password_length parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a copy of my working playbook.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;---
- name: " Edit Global Properties "
  hosts: mds-primary
  gather_facts: no
  vars:
     #ansible_python_interpreter: "/usr/bin/python"
     ansible_connection: httpapi
     ansible_httpapi_use_ssl: True
     ansible_httpapi_validate_certs: False
     ansible_network_os: check_point.mgmt.checkpoint #Using Galaxy https://galaxy.ansible.com/check_point collection
     ansible_checkpoint_domain: Domain1 # Default domain for a SMS (SmartCenter)
     ansible_user: admin  # Change to your Check Point management admin user
     ansible_ssh_pass: vpn123

  tasks:
    - name: Set minimum password length
      check_point.mgmt.cp_mgmt_set_global_properties:
        user_directory:
          min_password_length: 14
        auto_publish_session: true
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 18:28:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/204589#M774</guid>
      <dc:creator>Erik_Lagzdins</dc:creator>
      <dc:date>2024-01-30T18:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: ansible.module_utils.connection.ConnectionError: string indices must be integers</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/204617#M775</link>
      <description>&lt;P&gt;Thank you for the prompt response.&lt;/P&gt;&lt;P&gt;We are still receiving the same error message. I have attached the error screenshot. Please check on this.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 06:02:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/204617#M775</guid>
      <dc:creator>Nowshad</dc:creator>
      <dc:date>2024-01-31T06:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: ansible.module_utils.connection.ConnectionError: string indices must be integers</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/204690#M776</link>
      <description>&lt;P&gt;If you are still receiving the "&lt;SPAN&gt;string indices must be integers" error then there must be a problem with your intent data or general Ansible connection to the server, not in the task for the module. That error is a general error message that can occur for multiple reasons. I recommend opening an SR with TAC.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 15:08:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/204690#M776</guid>
      <dc:creator>Erik_Lagzdins</dc:creator>
      <dc:date>2024-01-31T15:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: ansible.module_utils.connection.ConnectionError: string indices must be integers</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/204875#M777</link>
      <description>&lt;P&gt;Hi Erik,&lt;/P&gt;&lt;P&gt;Thank you, we are raising the ticket. Can you also please let me know what is the python and Ansible versions you are using? I suspect that this module works only with pyhton version less than 3. If it supports only &amp;gt;3 then we cannot use this module with the latest version of ansible.&amp;nbsp; Pls let me know your thoughts.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 09:43:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/204875#M777</guid>
      <dc:creator>Nowshad</dc:creator>
      <dc:date>2024-02-02T09:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: ansible.module_utils.connection.ConnectionError: string indices must be integers</title>
      <link>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/205168#M778</link>
      <description>&lt;P&gt;Here is my Ansible version output. Python versions &amp;gt;3 are supported.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cpadmin@ubuntu22:/etc/ansible/Playbooks$ ansible --version&lt;BR /&gt;ansible [core 2.16.1]&lt;BR /&gt;config file = /etc/ansible/ansible.cfg&lt;BR /&gt;configured module search path = ['/home/cpadmin/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']&lt;BR /&gt;ansible python module location = /home/cpadmin/.local/lib/python3.10/site-packages/ansible&lt;BR /&gt;ansible collection location = /home/cpadmin/.ansible/collections:/usr/share/ansible/collections&lt;BR /&gt;executable location = /home/cpadmin/.local/bin/ansible&lt;BR /&gt;python version = 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] (/usr/bin/python3)&lt;BR /&gt;jinja version = 3.0.3&lt;BR /&gt;libyaml = True&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 13:43:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/ansible-module-utils-connection-ConnectionError-string-indices/m-p/205168#M778</guid>
      <dc:creator>Erik_Lagzdins</dc:creator>
      <dc:date>2024-02-06T13:43:24Z</dc:date>
    </item>
  </channel>
</rss>

