use alpine/ansible image
This commit is contained in:
@@ -8,13 +8,15 @@ on:
|
||||
jobs:
|
||||
update-packages:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: alpine/ansible:2.18.6
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup environment
|
||||
run: |
|
||||
apt update && apt install -y ansible && \
|
||||
echo -e "${{ secrets.ANSIBLE_PRIVATE_KEY }}" > /mnt/default-key && \
|
||||
echo "${{ secrets.ANSIBLE_BECOME_PASS }}" > /mnt/become-pass.txt && \
|
||||
chmod 600 /mnt/default-key
|
||||
|
||||
Reference in New Issue
Block a user