Add yet another try
All checks were successful
Run Ansible Playbook / run-ansible (push) Successful in 2s
All checks were successful
Run Ansible Playbook / run-ansible (push) Successful in 2s
This commit is contained in:
@@ -13,9 +13,11 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Copy base64 encoded SSH key to file
|
- name: Copy base64 encoded SSH key to file to a temp file
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.ANSIBLE_SSH_KEY }}" | base64 --decode > ansible_key
|
echo "${{ secrets.ANSIBLE_SSH_KEY }}" | base64 --decode > /tmp/id_rsa
|
||||||
chmod 600 ansible_key
|
chmod 600 /tmp/id_rsa
|
||||||
- name: cat ansible_key
|
|
||||||
run: cat ansible_key
|
- name: cat the SSH key
|
||||||
|
run: |
|
||||||
|
cat /tmp/id_rsa
|
||||||
Reference in New Issue
Block a user