colmena initial implementation for sandbox and monitor
All checks were successful
Hello World / test (push) Successful in 4s
All checks were successful
Hello World / test (push) Successful in 4s
This commit is contained in:
parent
a90630ecb6
commit
5feb74d56d
40 changed files with 27629 additions and 141 deletions
|
|
@ -55,7 +55,7 @@
|
|||
register: qga_json
|
||||
failed_when: qga_json.rc != 0
|
||||
|
||||
- name: Parse out eth0’s IPv4 address
|
||||
- name: Parse out eth0's IPv4 address
|
||||
ansible.builtin.set_fact:
|
||||
vm_ipv4: >-
|
||||
{{
|
||||
|
|
@ -71,11 +71,11 @@
|
|||
)
|
||||
}}
|
||||
|
||||
- name: Show the VM’s IP
|
||||
- name: Show the VM's IP
|
||||
ansible.builtin.debug:
|
||||
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:
|
||||
name: "nixos-{{ new_vmid }}"
|
||||
ansible_host: "{{ vm_ipv4 }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue