07-04-2024, 07:37 PM
You have two of the items inverted.
A specific action to be performed on one or more target devices => task
Unit of Python code to be executed => Module
https://docs.ansible.com/ansible/latest/...ml#modules
A specific action to be performed on one or more target devices => task
Unit of Python code to be executed => Module
https://docs.ansible.com/ansible/latest/...ml#modules