Forum Discussion
External Data Group Import Failing.
Hey All,
Looking for some assistance on importing a DataGroup file. I found the doc that indicated the EOL needed to be in the Unix format instead of Windows. I've "converted" the file in Notepad+, but I'm still getting an error.
Is there a way to validate the EOL state of a file?
Thanks.
-Stephen
Well, this was evidently stupid mistake on my part. I didn't realize that the file needed an extra "," at the end of each line. I assumed the EOL character would be the separator between records...
So, instead of:
"/sites/misc/filename.doc" := "/sites/newdept/filename.doc"
I needed:
"/sites/misc/filename.doc" := "/sites/newdept/filename.doc",
3 Replies
Hi Stephan,
There are limitaions in existing f5 ansible 'bigip_data_group'. You can't add/modify existing data_group only create fresh and assign to iRule. Below link will help you to think in broder view. Mine dg is working well.
Ref: https://clouddocs.f5.com/products/orchestration/ansible/devel/modules/bigip_data_group_module.html
- name: Add fresh DG bigip_data_group: provider: '{{ provider }}' name: allowed_ip external_file_name: subnet_allow_ip records_src: templates/filename state: present type: address delegate_to: localhostThanks
Hi Stephen,
Are you trying to fetch the external dynamic list configuration? like automating ip blocking or adding to a group in f5? we are also doing the same in windows server> please let me know what issue you are faced and how its working now.
BR
AswinWell, this was evidently stupid mistake on my part. I didn't realize that the file needed an extra "," at the end of each line. I assumed the EOL character would be the separator between records...
So, instead of:
"/sites/misc/filename.doc" := "/sites/newdept/filename.doc"
I needed:
"/sites/misc/filename.doc" := "/sites/newdept/filename.doc",
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
