From b4382bc789725b45d547afc9fe32343cfb3f4833 Mon Sep 17 00:00:00 2001
From: NexusNull
Date: Tue, 31 Oct 2023 17:38:37 +0100
Subject: [PATCH] refactor
---
.github/workflows/setup_servers.yml | 5 ++---
cicd/setup/{playbooks.yml => playbook.yml} | 0
2 files changed, 2 insertions(+), 3 deletions(-)
rename cicd/setup/{playbooks.yml => playbook.yml} (100%)
diff --git a/.github/workflows/setup_servers.yml b/.github/workflows/setup_servers.yml
index 8c75cb2b..0d9fc2b9 100644
--- a/.github/workflows/setup_servers.yml
+++ b/.github/workflows/setup_servers.yml
@@ -44,8 +44,7 @@ jobs:
- name: Run Ansible Playbook
uses: dawidd6/action-ansible-playbook@v2
with:
- playbook: ./playbooks.yml
- directory: ./cicd/setup
+ playbook: ./cicd/setup/playbook.yml
key: ${{ secrets.HETZNER_PRIVATE_KEY }}
options: |
- --inventory inventory.yml
+ --inventory ./cicd/setup/inventory.yml
diff --git a/cicd/setup/playbooks.yml b/cicd/setup/playbook.yml
similarity index 100%
rename from cicd/setup/playbooks.yml
rename to cicd/setup/playbook.yml