mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-02-12 13:36:29 +00:00
Jakub Sokołowski
0256a21dd0
The `linux-06` is a new host, while `linux-07` is re-purposed `linux-01` from the prater fleet. This is done because the Innova company is out of Xeon E5-2690 CPUs, and we want consistent performance across the fleet. This way all seven hosts in `nimbus.mainnet` will use the E5-2690 CPU. https://github.com/status-im/infra-nimbus/issues/132 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Description
The files here are Ansible inventory files generated by ansible/terraform.py
.
Their purpose is an emergency inventory backup in case of failure or unavailability of Consul.
Usage
To use simply provide the file for the given stage using the -i
argument.
For example, if you want to run Ansible on mailservers of eth.test
fleet while Consul is unavailable do:
ansible-playbook ansible/main.yml -i ansible/inventory/test -l mail
Terraform Backup
In addition to the Ansible inventory files the ansible/terraform.py
script also stores the last seen Terraform inventory under .terraform/terraform.tfstate.backup
.
So if ever Consul KV store is lost, it can be recovered from this copy.
Details
For more details on how Ansible and Terraform interact read this article.