Executing low-down raw commands
So far, you have learned about different Ansible modules and collections for developing automation content. Most of these modules expect a supported Python version on the target node (or PowerShell for Microsoft Windows) to execute the automation scripts in the backend (refer to Ansible’s managed node requirements documentation for more details: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#managed-node-requirements). When there is no required Python version or packages available, then you need to install it manually (or using some scripts) on every node before Ansible can automate the tasks on that nodes. When several managed nodes need to onboard to Ansible, then it will be a tedious task to log into each node and install these dependencies manually. In such situations, it is possible to execute the raw commands (such as the ones you use inside a bash script or PowerShell script) to install and configure...