Complete Python scripting on Udemy:
https://www.udemy.com/complete-python-scripting-for-automation/
Complete Bash Shell Scripting on Udemy:
https://www.udemy.com/complete-bash-shell-scripting-b/
AWS Automation with boto3 of Python and Lambda Functions
https://www.udemy.com/aws-automation-with-boto3-of-python-and-lambda-functions/
It will explain about:
Simple way to use variables in playbooks/yaml scripting
You can get this script from my github account:
https://github.com/dowithpython/Ansible_Automation/blob/master/Copy_module/create_file.yml
source