i’m trying to write playbook to downlaod packages from repo.
here is my try.
csv data
i’m trying to write playbook to downlaod packages from repo.
here is my try.
csv data
Consider creating a custom vars plugin
https://docs.ansible.com/ansible/latest/dev_guide/developing_plugins.html
What is the exact error message you’re getting?
I only slightly agree with Mr. Fellers response (“create a custom vars plugin”), but in your case that might be overkill. I’ve seen teams that have a developer write some custom code that breaks soon after he/she leaves and then they are stuck with a bigger mess than if they had tried to work with Ansible included modules.
If you’re having to write Python code already, you’re most of the way to having a custom plugin. You’re simply doing it in a way that natively hooks into how Ansible works.