Fix checkout container compatibility by installing Ansible

This commit is contained in:
Isshi0417 2026-07-07 07:08:03 +00:00
parent fbc4b73d4b
commit 6f6604eed2

View File

@ -8,13 +8,16 @@ on:
jobs:
deploy-dns:
runs-on: self-hosted
container:
image: docker.io/willhallonline/ansible:latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install ansible
run: |
apt-get update
apt-get install -y ansible-core
- name: Set up SSH private key
run: |
mkdir -p ~/.ssh