I hereby claim:
- I am rcuza on github.
- I am rcuza (https://keybase.io/rcuza) on keybase.
- I have a public key ASC_YmbeGRLJWCnLkU1yGaUKDCT07g5fEm3BSS644I8Qngo
To claim this, I am signing this object:
# Problem: Using the AWS crenditals for one environment with the wrong | |
# inventory and variables | |
# Solution: Check that your credentials access the expected AWS account | |
# | |
# In your `group_vars` set `aws_account_number` to the AWS account number | |
# for your inventory/environment. Add these `pre_tasks` to your playbook. | |
# If you forget to switch credentials before running Ansible, you have a | |
# safety check | |
--- | |
- name: check aws account numner |
vagrant@ubuntu-bionic:~$ sudo grep -lR "/etc/environment" /etc/* | |
/etc/init.d/cron | |
/etc/init.d/lxd | |
/etc/pam.d/cron | |
/etc/pam.d/login | |
/etc/pam.d/su | |
/etc/pam.d/sshd | |
/etc/rc0.d/K01lxd | |
/etc/rc1.d/K01lxd | |
/etc/rc2.d/S01lxd |
I hereby claim:
To claim this, I am signing this object:
# Copyright 2020 Chartbeat. | |
# Licensed under the Apache License, Version 2.0. | |
import logging | |
from pathlib import PurePath | |
from textwrap import dedent | |
from pants.backend.python.util_rules.pex import ( | |
Pex, |