Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Ansible Network config templates with Dynamic variables
I have a working playbook using roles to create a router config based on the varisables I statically put in but want to have it prompt me for those values. I’ve tried using vars_prompt but doesn’t seem to work I think I’m not putting those commands in the right place.So basically is there a way to do this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×