Hello, we are testing ansible automatisation on our MDS, but it dosn't work for me
My Hosts File looks like this: the 1.1.1.1 is the CMA IP
[checkpoint]
1.1.1.1
my_var file is :
ansible_httpapi_use_ssl: True
ansible_httpapi_validate_certs: False
ansible_user: api-user
ansible_network_os: checkpoint
ansible_password: password
My Ansible runbook lookes like that:
cat check_grp.yml
---
- name: test
hosts: all
connection: httpapi
gather_facts: yes
vars_files:
- 'my_var .yaml'
tasks:
- name: show-group
cp_mgmt_group_facts:
details_level: standard
name: "grp_Demo"
register: grp_facts
vars:
ansible_checkpoint_domain: "CMA_NAME"
I have always {"changed": false, "msg": "Checkpoint device returned error 404 with message {u'message': u'Requested object [grp_Demo] not found
is there any other options to add in the playbook ?