diff --git a/ansible/deploy_all.yml b/ansible/deploy_all.yml index fe5a4bf..6de3daa 100644 --- a/ansible/deploy_all.yml +++ b/ansible/deploy_all.yml @@ -6,7 +6,7 @@ tasks: - name: Run Terraform Apply community.general.terraform: - project_path: "./terraform" # путь к папке с .tf файлами в вашем репозитории + project_path: "{{ playbook_dir }}/../terraform" # путь к папке с .tf файлами в вашем репозитории state: present force_init: true register: tf_result