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
I understand that AWX is open source software provided for free and that I might not receive a timely response.
I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)
Bug Summary
Hello,
I'm having issues trying to add hosts with multiple variables using Bulk Host Create in API.
As I have to add about 2k of servers with multiple variables it will be good to do it using API rather then putting them manually.
Please confirm the following
[email protected]
instead.)Bug Summary
Hello,
I'm having issues trying to add hosts with multiple variables using Bulk Host Create in API.
As I have to add about 2k of servers with multiple variables it will be good to do it using API rather then putting them manually.
AWX version
24.6.1
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
No response
Operating system
Rocky Linux 9
Web browser
No response
Steps to reproduce
On /api/v2/bulk/host_create/ in CONTENT:
{
"inventory": ,
"hosts": [
{
"name": "<HOSTNAME",
"variables": {
"ansible_host": "<IP_ADDRESS>",
"region": ""
}
}
]
}
Expected results
Host added to AWX Inventory
Actual results
{
"hosts": {
"0": {
"variables": [
"Not a valid string."
]
}
}
}
Additional information
No response
The text was updated successfully, but these errors were encountered: