From 8149732d463c2ce3fef3286c5ac055992915dbe4 Mon Sep 17 00:00:00 2001 From: gtempus Date: Sat, 4 Nov 2023 00:13:27 -0400 Subject: [PATCH] feat(ansible): generate inventory --- .github/workflows/api_triggered_workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/api_triggered_workflow.yml b/.github/workflows/api_triggered_workflow.yml index 1f724db..c9d0b18 100644 --- a/.github/workflows/api_triggered_workflow.yml +++ b/.github/workflows/api_triggered_workflow.yml @@ -67,7 +67,7 @@ jobs: - name: Generate Ansible Inventory working-directory: ./terraform run: | - terraform output -json | sed '1d' | sed '$d' | sed '$d' > output.json + terraform output -json | sed '1d' | sed '$d' | sed '$d' | sed '$d' > output.json cat output.json jq -r '.minecraft_server_public_ip.value[]' output.json