I hereby claim:
- I am eifelmicha on github.
- I am michaelschmitz (https://keybase.io/michaelschmitz) on keybase.
- I have a public key whose fingerprint is 3207 5E6B D2B9 BE6B 09CE 4749 07E0 6957 BC0F 945F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This script can help you find and remove unused AWS snapshots and volumes.
There is hardcoded list of regions that it searches, adjust the value to suit your needs.
Use snapshot.py snapshot-report
to generate report.csv
containing information about all snapshots.
snapshot.py snapshot-cleanup
lets you interactively delete snapshot if it finds it is referencing unexisting resources.
./snapshots.py --help
# plugins/filter/icinga.py | |
from ansible.errors import AnsibleError | |
def icinga_ticket(value, salt): | |
try: | |
from pbkdf2 import PBKDF2 | |
except ImportError: | |
raise AnsibleError('pbkdf2 library is required for `icinga_ticket` filter "pip install pbkdf2"') | |
return PBKDF2(str(value), str(salt), iterations=50000).hexread(20) |