I am starting to play with Ansible playbooks, but either I don't understand the Checkpoint published Ansible documentation, or the way it works is a bit strange.
As far as I have read in the documentation and in the examples, the playbooks are ran on the local Ansible server (localhost), but still there is a section to define the credentials to connect via SSH to the Ansible server. So basically, when running the playbook on the Ansible server, the script will connect to itself via SSH and then it will connect to the Checkpoint management server to run the commands. I guess there should be a way to skip this, and also avoid having SSH credentials in the Ansible configuration files (only the Checkpoint management credentials will be configured).
Is this the intended way of working, or I'm completely messing up the configuration?