From 08d58b5fd0d540754bfad4beec15a6859bca6b04 Mon Sep 17 00:00:00 2001 From: Stefan Le Breton Date: Sat, 8 Mar 2025 18:01:23 +0100 Subject: [PATCH] first commit --- .forgejo/workflows/run.yaml | 18 ++++++++++++++++++ inventory/service02 | 1 + 2 files changed, 19 insertions(+) create mode 100644 .forgejo/workflows/run.yaml create mode 100644 inventory/service02 diff --git a/.forgejo/workflows/run.yaml b/.forgejo/workflows/run.yaml new file mode 100644 index 0000000..fd31e21 --- /dev/null +++ b/.forgejo/workflows/run.yaml @@ -0,0 +1,18 @@ +- name: Run playbook + uses: dawidd6/action-ansible-playbook@v3 + with: + # Required, playbook filepath + playbook: deploy.yml + # Optional, directory where playbooks live + directory: ./ + # Optional, ansible configuration file content (ansible.cfg) + configuration: | + [defaults] + callbacks_enabled = ansible.posix.profile_tasks, ansible.posix.timer + stdout_callback = yaml + nocows = false + # Optional, SSH private key + key: ${{secrets.SSH_PRIVATE_KEY}} + # Optional, additional flags to pass to ansible-playbook + options: | + --verbose diff --git a/inventory/service02 b/inventory/service02 new file mode 100644 index 0000000..02c7fb0 --- /dev/null +++ b/inventory/service02 @@ -0,0 +1 @@ +service02.anyops.de