Fix checkout container compatibility by installing Ansible
This commit is contained in:
parent
fbc4b73d4b
commit
6f6604eed2
@ -8,13 +8,16 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
deploy-dns:
|
deploy-dns:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
container:
|
|
||||||
image: docker.io/willhallonline/ansible:latest
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install ansible
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y ansible-core
|
||||||
|
|
||||||
- name: Set up SSH private key
|
- name: Set up SSH private key
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user