Ansible role that synchronizes F5 ASM policies across separate clusters.
This role will export ASM policies to .xml files on the Ansible server and then import them into the F5s specified in destination_f5 var.
- policy_dir: Directory to store xml files temporarily, files will be deleted after import.
- source_f5: This is the primary device that the policies will be pulled from
- destination_f5: This is the list of devices that the policies will be imported into.
- name: Sync F5 ASM Policies
hosts: all
gather_facts: no
roles:
- f5_asm_sync
I strongly recommend a UCS archive backup task on the F5s prior to executing this role. To keep this role aligned with its intended function I have ommitted the backup tasks.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.