infra-nimbus/ansible/inventory
Jakub Sokołowski 9481622372
drop goerli-01.aws-eu-central-1a.nimbus.geth host
No longer necessary after dedicated metal hosts were deployed:
https://github.com/status-im/infra-nimbus/issues/125

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-08 13:32:28 +02:00
..
README.md fix various typos in comments and roles 2022-07-04 15:07:55 +02:00
test drop goerli-01.aws-eu-central-1a.nimbus.geth host 2022-09-08 13:32:28 +02:00

README.md

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.