Closed duanetoler closed 4 months ago
Hi @duanetoler , You can try using our cp_mgmt_host.py resource module. Regards
Yes, that is how I do it normally. However, the host module has a warning to be deprecated in November in favor of the "hosts" action plugin. Looks like the action plugin does not cause the httpapi plugin to login to API server first. Perhaps this is the behavior of action plugins?
We will keep supporting cp_mgmt_host.py, and will remove the warning. Thanks
We will keep supporting cp_mgmt_host.py, and will remove the warning. Thanks
Oh, nice! Thank you!
Ansible documentation URL has very large deprecation warnings for several modules, including cp_mgmt_host module. Will this warning be removed if the module will continue to be supported? https://docs.ansible.com/ansible/latest/collections/check_point/mgmt/index.html https://docs.ansible.com/ansible/latest/collections/check_point/mgmt/cp_mgmt_host_module.html#ansible-collections-check-point-mgmt-cp-mgmt-host-module
The link you've attached is of version 5.2.3, not the recent one
Yes it is. However, that's the only version available on docs.ansible.com. However, I did check the documentation at galaxy.ansible.com to compare the difference between 5.2.3 and 6.2.1. I do see the deprecation notice was removed, so that answers the question.
Thanks again!
Management server is CloudGuard SmartCenter R81.20 JHF 65
This works:
This does not work:
ansible-playbook -vvv
ansible-galaxy collection list:
ansible --version: