diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 175cbda..44a905c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,11 @@ jobs: name: Tests runs-on: ubuntu-latest steps: + - name: Install SSH key + uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH_KEY }} + known_hosts: ${{ secrets.KNOWN_HOSTS }} - name: Check out the codebase. uses: actions/checkout@v3 - name: Prepare Test Files @@ -28,7 +33,6 @@ jobs: ansible-playbook setup-homelab.yml --syntax-check - name: Setup Linode Instance run: | - ssh-keygen -t rsa ansible-playbook setup-linode.yml env: ANSIBLE_FORCE_COLOR: '1'