Install modern Ansible via pip to fix Python 3.12 target compatibility
This commit is contained in:
parent
ec51347719
commit
8716ad7348
@ -16,13 +16,8 @@ jobs:
|
|||||||
- name: Install ansible
|
- name: Install ansible
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y ansible
|
apt-get install -y python3-pip python3-setuptools
|
||||||
|
pip3 install ansible
|
||||||
- name: Verify SSH key format
|
|
||||||
run: |
|
|
||||||
echo "File size: $(wc -c < ~/.ssh/id_ed25519) bytes"
|
|
||||||
echo "First line: $(head -n 1 ~/.ssh/id_ed25519)"
|
|
||||||
echo "Last line: $(tail -n 1 ~/.ssh/id_ed25519)"
|
|
||||||
|
|
||||||
- name: Set up SSH private key
|
- name: Set up SSH private key
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user