Commit Graph

13 Commits

Author SHA1 Message Date
Jakub Sokołowski 657e8a098f
ansible: add meta requirements target, add check to bootstrap
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-10 15:29:38 +02:00
Jakub Sokołowski 757b097c81 add versioncheck.py script to verify Ansible role versions
Since Ansible or Ansible Galaxy doesn't actually check role versions
itself, we have to do it ourselves. This script goes through contents of
`ansible/requirements.txt` and verifies each role is installed and has
correct version.

It also checks the version of Ansible itself.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-13 08:07:26 +02:00
Jakub Sokołowski 965bb381cf
Makefile: use shasum since md5sum is not available on MacOS
shasum is available on MacOS by default andn from Perl package
on most Linux distros by default.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-11 10:45:07 +01:00
Jakub Sokołowski ebb5910a4b
Makefile: upgrade Ansible plugin to 2.5.0, check MD5 sum
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-23 13:24:47 +01:00
Ștefan Talpalaru 37b4e558b2 fix the Makefile and a shell script
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-01-26 15:31:26 +01:00
Zahary Karadjov e2244166ca
Simple Makefile target for generating a SSH config file with the fleet hosts
`make ssh-config` will generate a file ~/.ssh/config.d/infra-numbus with all
hostnames from the Ansible inventory. You can `Include` this file from your
main config file and re-generate it at will at any time. Having such a config
file makes it easier to ssh into any host on the fleet by taking advantage of
the built-in ssh hostname autocompletion in your shell.

The names of the entries were chosen in a way such that typing

ssh nimbus<tab>goerli<tab>

... produces the expected result.
2021-01-18 15:09:08 +01:00
Jakub Sokołowski 985c745049
use pass provider for secrets and drop terraform.tfvars
https://registry.terraform.io/providers/camptocamp/pass

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-26 16:35:36 +02:00
Jakub Sokołowski 9ebfd5d205
upgrade to terraform 0.13
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-09-07 23:25:32 +02:00
Jakub Sokołowski 1d4de55a25
create an AWS Console user for stefantalpalaru
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-25 18:49:07 +02:00
Jakub Sokołowski 14b623c4b4
port fleet to AWS EC2
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-27 16:46:53 +01:00
Jakub Sokołowski 73bde3c212
upgrade CloudFlare provider
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-22 21:03:28 +01:00
Jakub Sokołowski bf481f2fc0
upgrade to Terraform 0.12
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-28 22:35:57 -04:00
Jakub Sokołowski 7a2213d74b
add Makefile
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-20 13:35:05 +01:00