For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

PG0581's avatar
PG0581
Icon for Cirrus rankCirrus
Jun 28, 2019

bigip_irule

I'm trying to create an iRule with the following task:

  - name: iRule
    bigip_irule:
     module: ltm
     name: myRule
     src: /var/tmp/myRule.tcl
     state: present
     provider:
      server: "{{ inventory_hostname }}"
      user: "{{ remote_username }}"
      password: "{{ remote_passwd }}"
     validate_certs: no
     delegate_to: localhost

The issue I'm running into is that when I execute the play I'm getting a message saying it can't find the source. I'm assuming that for this field you are to copy the irule to any directory on the LTM? Or am I missing something here?

Error message:

  "msg": "The specified 'src' was not found."

3 Replies