Why does my project synchronization job fail after upgrading Ansible Automation Platform 2.2 from 2.1?
Issue
After upgrading the AAP from 2.1 to 2.2, the project synchronization job fails with the below errors at the TASK [delete project directory before update] when specifying the Delete option in the project.
fatal: [localhost]: FAILED! => {
"changed": false,
"cmd": "find -delete",
"invocation": {
"module_args": {
"_raw_params": "find -delete",
"_uses_shell": false,
"argv": null,
"chdir": "/var/lib/awx/projects/_6__demo_project",
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true,
"warn": false
}
},
"msg": "[Errno 2] No such file or directory: b'find'",
"rc": 2,
"stderr": "",
"stderr_lines": [],
"stdout": "",
"stdout_lines": []
}
Environment
Ansible Automation Platform 2.2 upgraded from <= 2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.