Page MenuHomeSoftware Heritage

staging: Rework output to display a summary on nodes
ClosedPublic

Authored by ardumont on Fri, Aug 2, 8:26 PM.

Details

Summary

Created or not, this displays the output:

terraform apply
proxmox_vm_qemu.gateway: Refreshing state... (ID: orsay/qemu/109)
proxmox_vm_qemu.node: Refreshing state... (ID: orsay/qemu/114)
proxmox_vm_qemu.node: Refreshing state... (ID: orsay/qemu/115)

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

db0_summary =
hostname: db0
fqdn: db0.internal.staging.swh.network
network: ip=192.168.128.3/24,gw=192.168.128.1 macaddr=3A:65:31:7C:24:17

storage0_summary =
hostname: storage0
fqdn: storage0.internal.staging.swh.network
network: ip=192.168.128.2/24,gw=192.168.128.1 macaddr=CA:73:7F:ED:F9:01
Test Plan
terraform init
terraform plan

Depends on D1807

Diff Detail

Repository
rSPRE sysadm-provisioning
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont created this revision.Fri, Aug 2, 8:26 PM
ardumont edited the summary of this revision. (Show Details)Fri, Aug 2, 8:29 PM
ardumont updated this revision to Diff 6093.Fri, Aug 2, 8:29 PM

Update to a more sensible output

ardumont updated this revision to Diff 6094.Fri, Aug 2, 8:31 PM

Remove dangling comments

ftigeot accepted this revision.Mon, Aug 5, 10:28 AM
This revision is now accepted and ready to land.Mon, Aug 5, 10:28 AM
This revision was automatically updated to reflect the committed changes.