generated from helmut/template
Fix runner
Remote Deploy to Windows / deploy (push) Failing after 24s
Details
Remote Deploy to Windows / deploy (push) Failing after 24s
Details
This commit is contained in:
parent
0fc28e8102
commit
817e5082ea
|
|
@ -11,10 +11,13 @@ jobs:
|
|||
options: --user root
|
||||
|
||||
steps:
|
||||
- name: Fix Environment
|
||||
- name: Fix Networking and Environment
|
||||
run: |
|
||||
echo "192.168.14.190 localhost" >> /etc/hosts
|
||||
|
||||
echo "HOME=/root" >> $GITHUB_ENV
|
||||
echo "ACTIONS_CACHE_DIR=/tmp/cache" >> $GITHUB_ENV
|
||||
mkdir -p /tmp/cache
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
|
@ -24,7 +27,12 @@ jobs:
|
|||
mkdir -p /root/.ssh
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > /root/.ssh/id_ed25519
|
||||
chmod 600 /root/.ssh/id_ed25519
|
||||
echo "StrictHostKeyChecking no" >> /root/.ssh/config
|
||||
|
||||
cat <<EOF > /root/.ssh/config
|
||||
Host *
|
||||
StrictHostKeyChecking no
|
||||
UserKnownHostsFile /dev/null
|
||||
EOF
|
||||
|
||||
- name: Run Ansible Playbook
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@
|
|||
- name: Copy backup scripts
|
||||
ansible.windows.win_copy:
|
||||
src: ../scripts/
|
||||
dest: C:\CMD\
|
||||
dest: 'C:\CMD\'
|
||||
Loading…
Reference in New Issue