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