mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
yolo
This commit is contained in:
parent
a1187fbef5
commit
68174b4a77
49 changed files with 88 additions and 585 deletions
27
.github/workflows/apply.yaml
vendored
27
.github/workflows/apply.yaml
vendored
|
|
@ -1,27 +0,0 @@
|
|||
name: Run playbooks
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: Run playbooks
|
||||
steps:
|
||||
- uses: actions/checkout@8b5e8b768746b50394015010d25e690bfab9dfbc # v3.6.0
|
||||
- name: Unlock secrets
|
||||
uses: sliteteam/github-action-git-crypt-unlock@8b1fa3ccc81e322c5c45fbab261eee46513fd3f8 # v1.2.0
|
||||
env:
|
||||
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY_BASE64 }}
|
||||
- name: Run Ansible playbook
|
||||
uses: dawidd6/action-ansible-playbook@260ab3adce54d53c5db8f1b2eed1380ae5c73fea # v2.6.1
|
||||
with:
|
||||
playbook: all.yml
|
||||
directory: playbooks
|
||||
key: ${{ secrets.VPS_DEPLOY_KEY }}
|
||||
known_hosts: |
|
||||
vps1.nilstrieb.dev ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOjiNfzZQpN2KWd1LSM/LL+dLx8snlCV6jYys+W4NOBH
|
||||
vps2.nilstrieb.dev ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKzt3OZAOG2sih8T9Bhoqg8ANBP5ZX60z0xmUW4cBWvX
|
||||
options: |
|
||||
--inventory inventory.yml
|
||||
-u root
|
||||
Loading…
Add table
Add a link
Reference in a new issue