Description
Using PWD is unreliable as it depends on where the playbook is invoked from. Should use playbook_dir for consistent path resolution.
Location
https://github.com/validatedpatterns/multicloud-gitops/blob/main/ansible/site.yaml
chdir: "{{ lookup('env', 'PWD') }}"
Expected Behavior
Use playbook_dir variable which always refers to the directory containing the playbook.
Suggested Fix
chdir: "{{ playbook_dir }}/.."