CheckPointSW / CheckPointAnsibleMgmtCollection

This Ansible collection provides control over a Check Point Management server using Check Point's web-services APIs.
https://galaxy.ansible.com/check_point/mgmt
Apache License 2.0
39 stars 30 forks source link

Use with Smart-1 Cloud - does not work - ansible_api_key and ansible_cloud_mgmt_id are provided #113

Closed mkol5222 closed 1 year ago

mkol5222 commented 1 year ago

Would you suggest troubleshooting approach a data to collect, please?

Would you have verified minimal working sample project against Smart-1 Cloud I would use on my S1C tenant to check?

Thanks.

chkp-edenbr commented 1 year ago

Hi @mkol5222 ,

I understand this was a dependency issue in your collection and it was fixed.

Regards, Eden

mkol5222 commented 1 year ago

@chkp-edenbr you are correct.

Issue was resolved by reinstalling Ansible with proper dependencies using

pipx install --include-deps ansible
ansible-galaxy collection install check_point.mgmt

vs installation process powered by Ubuntu's apt (that broke on _session_uid with S1C, probably due to different set of python dependencies)

sudo apt-add-repository ppa:ansible/ansible
sudo apt update
sudo apt install ansible -y
ansible-galaxy collection install check_point.mgmt

Issue resolved. Thank you.