Getting started with WAF Policy automation on BIG-IP AWAF
Updated Aug 02, 2022
Version 2.0Was this article helpful?
The "provider" is no longer an option as F5 wants us to use "connection: httpapi" that has predefined variables.
Can I use refence a local file on the Ansible station and push it with bigip_asm_policy_import? I seem to get some errors as I think that the inline: option does not support json files but just XML and this limits the options .
tasks:
- name: Import ASM policy inline
bigip_asm_policy_import:
name: foo-policy4
inline: "{{ lookup('file','asm_policy.json') }}"