Hi all,
I’m running AWX 19.0.0 and I’m trying to create a new project with SCM_type “git” via AWX API using python script.
I set the scm_type as git in data like this below,
data = {
“name”: “second project”,
“scm_types”: “git”,
“scm_url”: “XXXXXXXXX”,
“organization”: “2”,
“timeout”: 10
}
response = requests.post(url, auth=(user, pwd), headers=headers, json=data, verify=False)
The response code is 201 and I can see a new project is created on AWX but the scm_type is “manual” instead of “git”.
Could anyone help with this issue?
Regards,
Kana Yabuno