Open michael-andretta opened 1 year ago
What version of collection have you got installed? this parameter is available from 1.12.0 collection onwards?
You need to install the current version of the collection and retry, also looks like you are using a dated ansible version to use the latest version of collection we suggest installing the current supported community versions: https://clouddocs.f5.com/products/orchestration/ansible/devel/f5_modules/supported-versions.html
yes it says it available but I have proven in DevCentral link that it does not work as documented. I have collection 1.20 installed. Please look at the dev central link which shows the version of the collection pulled at run time. An F5 individual has ack'ed in the Dev Central link that someone there "sees the issue" all I needed to do was open the Issue.
@wojtek0806 im asking out automation team to get me a venv that will run ansible 4 so this can be applied to the template and run. Will follow up once that is done.
i suspect if you are using Ansible 2.9 it might be calling to modules that shipped inside 2.9, if i see -vvvv output i would know for sure, another thing you can do is in your playbook, try specifying something like this:
collections:
- f5networks.f5_modules
or append collection name to the module name when defining it in a task e.g.
f5networks.f5_modules.bigip_ucs_fetch
@wojtek0806 It is version 2.9 although I am using the collection call out like this. The automation team is looking at getting ansible 4 on a venv so we can test it on the newer version.
collections:
- name: f5networks.f5_modules
source: https://galaxy.ansible.com
version: 1.20.0
COMPONENT NAME
bigip_ucs_fetch, only_create_file parameter
Environment
ANSIBLE VERSION
BIGIP VERSION
CONFIGURATION
None
OS / ENVIRONMENT
SUMMARY
When trying to use the only_create_file parameter in the bigip_ucs_fetch module, you are presented with an error message
"Unsupported parameters for (bigip_ucs_fetch) module: only_create_file Supported parameters include: attributes, backup, content, create_on_missing, delimiter, dest, directory_mode, encryption_password, fail_on_missing, follow, force, group, mode, owner, provider, regexp, remote_src, selevel, serole, setype, seuser, src, unsafe_writes"
Conversation about this issue has been displayed on DevCentral @ https://community.f5.com/t5/technical-forum/bigip-ucs-fetch-unsupported-parameter-only-create-file/m-p/307552/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufExDSkJSMzZHVVg0VzBBfDMwNzU1MnxTVUJTQ1JJUFRJT05TfGhL#M264950
STEPS TO REPRODUCE
EXPECTED RESULTS
A UCS backup should be created on the local system only.
ACTUAL RESULTS