From 7e05eb4bee342864cb7093f2d9b62037833cc6b2 Mon Sep 17 00:00:00 2001 From: wakonig_k Date: Wed, 10 Sep 2025 14:46:11 +0200 Subject: [PATCH] refactor: change from inventory name to fqdn --- tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index ba93de6..8472514 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -77,7 +77,7 @@ Authorization: "Bearer {{ atlas_auth_response.content | trim | regex_replace('^\"(.*)\"$', '\\1') }}" body_format: form-urlencoded body: - deployment_name: "{{ inventory_hostname }}" + deployment_name: "{{ ansible_fqdn }}" return_content: yes status_code: 200 register: atlas_credentials