diff options
author | Egor Tensin <egor@tensin.name> | 2025-09-09 11:12:22 +0200 |
---|---|---|
committer | Egor Tensin <egor@tensin.name> | 2025-09-09 11:12:26 +0200 |
commit | f7178aedfd35c95c43c6a811775cb51e40ffd925 (patch) | |
tree | 01b2244c232afd3be8f74f6835bad11029317045 /.github/workflows | |
parent | README: update (diff) | |
download | maintenance-f7178aedfd35c95c43c6a811775cb51e40ffd925.tar.gz maintenance-f7178aedfd35c95c43c6a811775cb51e40ffd925.zip |
repurpose the repo
It's no longer a stupid, archived Ansible project; I'm gonna use it to
run GitHub Actions to do maintenance on my stuff.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/run.yml | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml deleted file mode 100644 index 569bcad..0000000 --- a/.github/workflows/run.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Run - -on: - workflow_dispatch: - inputs: - hosts: - description: Inventory pattern - required: false - default: cloud - -jobs: - run: - name: Run - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Set up WireGuard - uses: egor-tensin/setup-wireguard@v1 - with: - endpoint: '${{ secrets.ENDPOINT }}' - endpoint_public_key: '${{ secrets.ENDPOINT_PUBLIC_KEY }}' - ips: '${{ secrets.IPS }}' - allowed_ips: '${{ secrets.ALLOWED_IPS }}' - private_key: '${{ secrets.WG_PRIVATE_KEY }}' - preshared_key: '${{ secrets.WG_PRESHARED_KEY }}' - - name: Set up ssh-agent - uses: webfactory/ssh-agent@v0.7.0 - with: - ssh-private-key: '${{ secrets.SSH_KEY }}' - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: 3.x - cache: pip - - name: Install Ansible - run: pip install -q -r requirements.txt - - name: Make sure Ansible version is correct - run: | - ansible-playbook --version | grep -F 2.14. - - name: Install dependencies - run: make deps - - name: Run Ansible - run: make run LIMIT='${{ github.event.inputs.hosts }}' |