This commit is contained in:
parent
7dd5043b5d
commit
66387734d8
2 changed files with 21 additions and 5 deletions
16
.forgejo/workflows/test.yml
Normal file
16
.forgejo/workflows/test.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
name: Hello World
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Say hello
|
||||||
|
run: echo "🎉 Hello from Forgejo Actions!"
|
||||||
|
|
@ -75,8 +75,8 @@
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "VM {{ new_vmid }} ({{ new_name }}) reports IPv4: {{ vm_ipv4 }}"
|
msg: "VM {{ new_vmid }} ({{ new_name }}) reports IPv4: {{ vm_ipv4 }}"
|
||||||
|
|
||||||
# - name: Add new VM’s IP to in-memory inventory (for later tasks)
|
- name: Add new VM’s IP to in-memory inventory (for later tasks)
|
||||||
# ansible.builtin.add_host:
|
ansible.builtin.add_host:
|
||||||
# name: "nixos-{{ new_vmid }}"
|
name: "nixos-{{ new_vmid }}"
|
||||||
# ansible_host: "{{ vm_ipv4 }}"
|
ansible_host: "{{ vm_ipv4 }}"
|
||||||
# ansible_user: root
|
ansible_user: root
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue