Compare commits
No commits in common. "54d26948bda4f2b910f8b9cd517261863772bf9f" and "f447e9e77ea64a92eaff408d45e16ee58376197b" have entirely different histories.
54d26948bd
...
f447e9e77e
|
@ -66,6 +66,8 @@ jobs:
|
||||||
mkdir -p -m 700 ~/.ssh
|
mkdir -p -m 700 ~/.ssh
|
||||||
echo "${{ secrets.SSH_PRIVATE }}" > ~/.ssh/id_rsa
|
echo "${{ secrets.SSH_PRIVATE }}" > ~/.ssh/id_rsa
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
|
cat ~/.ssh/id_rsa | wc -c
|
||||||
|
cat ~/.ssh/id_rsa | wc -l
|
||||||
|
|
||||||
- name: Run playbooks
|
- name: Run playbooks
|
||||||
if: env.DEPLOY != 'none' && steps.playbooks.outputs.to_run != ''
|
if: env.DEPLOY != 'none' && steps.playbooks.outputs.to_run != ''
|
||||||
|
|
|
@ -5,12 +5,19 @@
|
||||||
- name: Debug
|
- name: Debug
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "{{ inventory_hostname }}"
|
msg: "{{ inventory_hostname }}"
|
||||||
|
- name: Wut
|
||||||
|
ansible.builtin.shell: |
|
||||||
|
apt update
|
||||||
|
apt install -y iputils-ping
|
||||||
|
ping -c 5 {{ inventory_hostname }}
|
||||||
|
args:
|
||||||
|
executable: /bin/bash
|
||||||
|
delegate_to: localhost
|
||||||
- name: Wait for connection
|
- name: Wait for connection
|
||||||
ansible.builtin.wait_for:
|
ansible.builtin.wait_for:
|
||||||
host: "{{ inventory_hostname }}"
|
host: "{{ inventory_hostname }}"
|
||||||
port: 22
|
port: 22
|
||||||
timeout: 300
|
timeout: 300
|
||||||
delegate_to: localhost
|
|
||||||
- name: Test some stuff
|
- name: Test some stuff
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
touch ~/hmm
|
touch ~/hmm
|
||||||
|
|
Loading…
Reference in New Issue