Dig deeper into Ansible and F5 integration
Published Apr 05, 2017
Version 1.0Was this article helpful?
I got it Payal! My issue was in the irule section of the task. I did this instead of what you wrote:
irules:
- '{{ item.irule }}'
I got to thinking of the error 'unhashable list' and thought maybe its the fact that I'm putting a list in the placeholder of a list item. by moving it up a level as you had written, it started working just as it should. Great work and thank you so much!
Now that I have this playbook complete, and a better understanding of how Ansible works, I can ask my devOps team to just complete a templated var file, drop it in a shared folder, and let the playbook run on a schedule thus building the Virtual Servers automatically.