This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
name: Ansible Deploy (ubuntu-test-2)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master, main]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: shell
|
||||
steps:
|
||||
- name: Playbook auf ubuntu-test-2 ausführen
|
||||
run: |
|
||||
export SSH_AUTH_SOCK="$(ls -t /home/jonnybravo/.ssh/agent/s.*.agent.* 2>/dev/null | head -1)"
|
||||
PATH="/home/jonnybravo/.local/bin:$PATH" ansible-playbook site.yml
|
||||
working-directory: /home/jonnybravo/ansible_präsentation/Beispiel
|
||||
Reference in New Issue
Block a user