From 6aed2522828fbb459e0c39491764df9ab4547175 Mon Sep 17 00:00:00 2001 From: kenorb Date: Sat, 3 Feb 2024 22:00:34 +0000 Subject: [PATCH] Adds action to install platform --- .github/workflows/action.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index f29fadc..a61cc11 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -30,6 +30,27 @@ jobs: image: ea31337/ea-tester:dev steps: - uses: actions/checkout@v3 + - name: Install platform + uses: dawidd6/action-ansible-playbook@v2 + with: + playbook: platform-install.yml + directory: ./ansible + configuration: | + [defaults] + nocows = false + stdout_callback = yaml + # Optional, SSH private key + key: ${{secrets.SSH_PRIVATE_KEY}} + # Optional, literal inventory file contents + inventory: | + [all] + localhost + requirements: galaxy-requirements.yml + # Optional, additional flags to pass to ansible-playbook + options: | + --inventory .hosts + --limit group1 + --verbose - name: Run local action (syntax only) uses: ./ with: