Fix checkout container compatibility by installing Ansible
This commit is contained in:
parent
fbc4b73d4b
commit
6f6604eed2
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user