Page MenuHomeSoftware Heritage

staging: Rework output to display a summary on nodes
ClosedPublic

Authored by ardumont on Aug 2 2019, 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
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 7130
Build 10053: arc lint + arc unit