first commit
This commit is contained in:
commit
08d58b5fd0
2 changed files with 19 additions and 0 deletions
18
.forgejo/workflows/run.yaml
Normal file
18
.forgejo/workflows/run.yaml
Normal file
|
|
@ -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
|
||||||
1
inventory/service02
Normal file
1
inventory/service02
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
service02.anyops.de
|
||||||
Loading…
Add table
Reference in a new issue