I hereby claim:
- I am tb3088 on github.
- I am mpattoncs (https://keybase.io/mpattoncs) on keybase.
- I have a public key ASBXoXGWFnDHS-EK4hHY_AnEQuaDYFIa36BsUaZDCMoDigo
To claim this, I am signing this object:
#!/bin/bash -e | |
set -o pipefail; LC_COLATE=C | |
: "${LETTERS:=5}" | |
: "${ROUNDS:=7}" | |
: "${DICTIONARY:=/usr/share/dict/words}" | |
#https://www.shellhacks.com/bash-colors/ | |
hit='\e[30;102m'; match='\e[30;103m'; miss='\e[30;107m'; reset='\e[0m' | |
pool=`printf '%s' {a..z}` |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "AllowAllUsersToListAccounts", | |
"Effect": "Allow", | |
"Action": [ | |
"iam:ListAccountAliases", | |
"iam:ListUsers", | |
"iam:ListGroups", |
I hereby claim:
To claim this, I am signing this object:
--- | |
rhel7stig_cat1: "{{ apply_cat1 }}" | |
rhel7stig_cat2: "{{ apply_cat2 }}" | |
rhel7stig_cat3: "{{ apply_cat3 }}" | |
rhel7stig_logon_banner: "{{ login_banner }}" | |
rhel7stig_update_all_packages: "{{ not package is defined or package.update_all }}" | |
rhel7stig_bootloader_password: "{{ not bootloader is defined or bootloader.password }}" | |
# !disable 'exec' on NFS | |
rhel_07_021021: false |
# use '--skip-tags=grub,bootloader,rescue,sudoers' to skip DANGEROUS items | |
--- | |
- hosts: all | |
become: yes | |
vars: | |
update_all_packages: no | |
do_cat1: yes | |
do_cat2: yes | |
do_cat3: no |
#!/bin/bash | |
[ -x "${FIND:=`which find 2>/dev/null`}" ] || { echo "ERROR: 'find' program ($FIND) not found/executable"; exit 1; } | |
PROG=`basename $0 .sh` | |
declare -i VERBOSE=0 MAXDEPTH=1 DRYRUN=0 | |
let ${AGET:=atime} | |
let ${AGE:='+1'} | |
RUNNING | |
======= | |
symlink 'packer-wrapper.sh' to desired command: eg. verify, build, inspect | |
Run with '-h' to get usage. | |
example: | |
./validate.sh -i ami-xxx[.var|.json] -e dev -r us-east-1 base.json | |
#!/bin/bash | |
# Usage: | |
# | |
# [VERBOSE=-v] | |
# [PROFILE=<profile>] | |
# [IDENTITY=<key>] | |
# ssh-wrapper.sh [cmd] <host> [args] | |
# | |
# just symlink to the wrapper to automatically set PROFILE |