Need playbook to run commands on checkpoint firewall

Can someone help with running some basic show commands on checkpoint firewall from AWX.

I tried many possibilities by googling,but no luck

Need full play.

  • hosts: all

connection: network_cli

tasks:

  • name: Get config for VyOS devices
    vyos_config:
    lines:
  • fw ver
    this is my playbook which is not working

Error messages:

===================The full traceback is:

950
WARNING: The below traceback may not be related to the actual failure.

951
File “/tmp/ansible_vyos_facts_payload_kcAvN1/ansible_vyos_facts_payload.zip/ansible/module_utils/network/vyos/vyos.py”, line 85, in get_capabilities

952
capabilities = Connection(module._socket_path).get_capabilities()

953
File “/tmp/ansible_vyos_facts_payload_kcAvN1/ansible_vyos_facts_payload.zip/ansible/module_utils/connection.py”, line 186, in rpc

954
raise ConnectionError(to_text(msg, errors=‘surrogate_then_replace’), code=code)

955

956
fatal: [x.x.x.x]: FAILED! => {

957
“changed”: false,

958
“invocation”: {

959
“module_args”: {

960
“gather_subset”: [

961
“!config”

962
],

963
“host”: null,

964
“password”: null,

965
“port”: null,

966

what ansible version and how does the inventory file look like ?

Ansible version :2.8.1,
Defined checkppoint hostname/IP adress with vailable like — ansible_connection: network_cli …