Using API calls for automation
In Chapter 6, Automating Microsoft Windows and Network Devices, you learned about the different ways Ansible can talk to managed nodes, platforms, or applications. So as long as there is a supported method to access the target system, it is possible use Ansible to automate these tasks. In the previous chapters, you learned about the integration between Ansible and other tools such as Jira, ServiceNow, Kubernetes, public or private cloud platforms, and so on. For such platforms, most of those modules use HTTP/HTTPS API calls to execute operations. This means that if there are no modules available to automate your operations but there is an API method, you can use the same raw API calls from your Ansible playbook.
Python SDK and API Calls
Please remember that not all modules use direct or native API calls to execute the operations; some modules use Python libraries and software development kits (SDKs) to implement these tasks. For example, the FortiOS...