Forum Discussion
bigip_irule
Hello PG0581
Documentation says "src: The iRule file to interpret and upload to the BIG-IP".
In the same article also says "src: The filename that included the iRule source (Sample:
/opt/src/irules/example1.tcl)"
REF - https://clouddocs.f5.com/products/orchestration/ansible/devel/modules/bigip_irule_module.html
So the file should be located in /var/tmp folder in your ansible machine. Does it help?
KR,
Dario.
BTW, that's the implementation code for this section in 'bigip_irule'.
@property
def src_content(self):
if not os.path.exists(self._values['src']):
raise F5ModuleError(
"The specified 'src' was not found."
)
with open(self._values['src']) as f:
result = f.read()
return resultREF - https://github.com/F5Networks/f5-ansible/blob/devel/library/modules/bigip_irule.py
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
