You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sys::Version
Main Package
Product BIG-IP
Version 16.1.4.1
Build 0.132.5
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
BIGIP Ansible command module(bigip_command) is failing to generate CSR via ansible input, when use unicode charater in city name or, state name i.e city name: 'München' or State Name: 'Baden-Württemberg'. however tmos command and web ui works well.
STEPS TO REPRODUCE
---
- hosts: all
gather_facts: false
vars_files: vars/lba_provider_vars.yaml
connection: local
vars:
- cust_obj: "www.example.com"
- keySize: 2048
- country: "DE"
- subject_alternative_name: "DNS:*.abc.com"
- state: "München"
- my_commonName: "*.example.com"
- ou: "IT"
- city: "Ulm"
- organization: "Microsoft"
tasks:
- name: Create command tmsh Command dynamically
ansible.builtin.set_fact:
create_tmos_command: >-
create sys crypto key '{{ cust_obj }}' key-size {{ keySize }}
gen-csr country '{{ country }}'
city '{{ city }}'
state '{{ state }}'
organization '{{ organization }}'
ou '{{ ou }}'
common-name '{{ my_commonName }}'
subject-alternative-name '{{ subject_alternative_name }}'
delegate_to: localhost
- name: "Generate the CSR On Device"
f5networks.f5_modules.bigip_command:
provider: "{{ provider }}"
commands:
- "{{ create_tmos_command }}"
delegate_to: localhost
The text was updated successfully, but these errors were encountered:
f5killer
added
bug
Issues that are related to bugs in the Ansible modules
untriaged
issue that needs an initial response from the developers
labels
Sep 2, 2024
COMPONENT NAME
bigip_command
Environment
Prod
ANSIBLE VERSION
BIGIP VERSION
Sys::Version
Main Package
Product BIG-IP
Version 16.1.4.1
Build 0.132.5
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
BIGIP Ansible command module(bigip_command) is failing to generate CSR via ansible input, when use unicode charater in city name or, state name i.e city name: 'München' or State Name: 'Baden-Württemberg'. however tmos command and web ui works well.
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
"changed": false,
"invocation": {
"module_args": {
"chdir": null,
"commands": [
"create sys crypto key 'www.example.com' key-size 2048 gen-csr country 'DE' city 'Ulm' state 'München' organization 'Microsoft' ou 'IT' common-name '.example.com' subject-alternative-name 'DNS:.abc.com'"
],
"interval": 1,
"match": "all",
"provider": {
"auth_provider": null,
"no_f5_teem": true,
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"server": "10.10.20.90",
"server_port": 443,
"ssh_keyfile": null,
"timeout": null,
"transport": "rest",
"user": "unix",
"validate_certs": false
},
"retries": 10,
"wait_for": null,
"warn": true
}
},
"msg": "double quotes are not balanced"
}
The text was updated successfully, but these errors were encountered: