Forum Discussion

Thomas_A__McGon's avatar
Thomas_A__McGon
Historic F5 Account
Jan 07, 2017

How do you attach an iRule to a Virtual Server in Ansible

Hello, I am correctly creating a node, pool, and virtual server as well as an iRule sorry server for when the pool is off line. It is not obvious to me how to attach the sorry server iRule to the Virtual server. I tried using bigip_command and doing it through tmsh but I am getting an error that ansible can't find the bigip_command. I looked in the ansible source code and couldn't find it either.

 

Does anyone know how to attach an iRule to a VIP through ansible. Your advice is greatly appreciated.

 

  • Thomas_A__McGon's avatar
    Thomas_A__McGon
    Historic F5 Account

    It was the all_rules option to the bigip_virtual_server module. Yay!!