Variable that has the path to the current ansible-playbook that is executing? November 19, 2022 by Tarik You can use the playbook_dir variable. See the documentation about magic variables.