I want to have a workflow job template which links 2 job templates. Each job template launch a playbook: playbook1 is used to fetch a file from remote host and save it to local path, such as “/tmp/remote_file.txt”. playbook2 is used to read the fetched file and do something else.
I have installed AWX v14 on docker and deployed such workflow job template, which always works well. The fetched file was saved on awx_task container.
Now I install AWX v19 on OCP via awx-operator, and deployed such workflow job template. playbook1 is successful (which means the fetched file is successfully saved to “/tmp”), but playbook2 is failed with error:
"FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/remote_file.txt’ "
I try to search both awx_task and awx_ee container, there is no fetched file in “/tmp”. I also try different path to save the fetched file, such as “/var/lib/awx/projects/my_project/tmp”, playbook1 is always successful, but same error when running playbook2.
Anyone could help?