Infrastructure fleet template
Go to file
Jakub Sokołowski 7b96dfb457
flake: fix two versions of python in shell
Fixes:
```
Traceback (most recent call last):
  File "/home/jakubgs/work/infra-eth2/ansible/lookup_plugins/vault.py", line 6, in <module>
    import hvac
ModuleNotFoundError: No module named 'hvac'
```
Before.
```
 > echo $PATH | tr ':' '\n' | grep python3-
/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin
/nix/store/38nsff4vmhjmvfsi864yb23y9rk9gw5c-python3-3.11.9-env/bin
```
After the fix.
```
 > echo $PATH | tr ':' '\n' | grep python3-
/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin
/nix/store/pxgdzih20d368bx0h0kzyln5hl5cjgyl-python3-3.12.4-env/bin
```
Caused by upgrade to `unstable` without checking default Python version.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-10-15 19:32:24 +02:00
ansible ansible/README.md: include vault in secrets section 2024-10-01 12:08:29 +02:00
.envrc flake: open nix flake devShell automatically with direnv (nix-direnv) 2024-09-18 12:28:44 +02:00
.envrc.secrets secret: adding vault address 2024-09-20 11:21:56 +02:00
.gitignore gitignore: add .direnv/ directory 2024-09-19 19:35:53 +02:00
Makefile vault: add lookup plugin and certificate file 2024-08-06 15:50:58 +02:00
README.md minor updates after infra-shards 2023-10-05 14:02:30 +02:00
ansible.cfg ansible.cfg: drop remote_user=admin 2022-05-11 15:29:38 +02:00
flake.lock nix: pin unstable nixpkgs to fix bitwarden-cli issue on macOS 2024-09-30 14:14:44 +02:00
flake.nix flake: fix two versions of python in shell 2024-10-15 19:32:24 +02:00
main.tf main.tf: fix path to clearly show placeholder 2024-06-20 11:41:21 +02:00
providers.tf providers:tf: drop unnecessary account_id for CloudFlare 2024-06-20 11:52:07 +02:00
secrets.tf providers:tf: drop unnecessary account_id for CloudFlare 2024-06-20 11:52:07 +02:00
versions.tf versions.tf: upgrade pass provider to 2.1.1 2024-06-24 11:49:35 +02:00
workspaces.tf add Terraform boilerplate 2022-05-11 14:29:16 +02:00

README.md

Description

⚠️ Replace with actual description!

This repo defines a standard template for new Status infrastructure repositories.

Key things to change:

  • Update README.md
  • Terraform
    • Change path in main.tf to match new fleet
    • Add necessary providers in providers.tf
    • Add necessary secrets in secrets.tf
    • Adjust or remove workspaces.tf
    • Adjust versions.tf
  • Ansible
    • Extend ansible/group_vars/all.yml
    • Or add a dedicated group_vars file
    • Create the ansible/main.yml playbook
  • Github
    • Add to infra-repos/variables.tf

Repo Usage

For how to use this repo read the Infra Repo Usage doc.