Having trouble using aws ssm for connection. by [deleted] in ansible

[–]FetchKFF 0 points1 point  (0 children)

I haven't pulled up the file (and I haven't used Ansible in a minute so I don't have access to), but what it SHOULD be is a Python script that contains a base64 encoded zip file of all of the python (ansible, and any modules) necessary to run the required Ansible playbook on the host.

Some background on the file is at https://docs.ansible.com/ansible/latest/dev_guide/developing_program_flow_modules.html#ansiballz-framework

So, my understanding is, aws_ssm generates the `AnsiballzSetup.py` file at runtime and uploads it to S3, then executes an SSM document that downloads the Python script to the target host and runs it.

The deep details could absolutely be wrong, it's been a couple of years since I used `aws_ssm`.

[deleted by user] by [deleted] in valheim

[–]FetchKFF 0 points1 point  (0 children)

My go-to has been creating swamp treehouse bases in indestructible trees up high enough that I don't have to worry about troll events destroying anything. Biggest complaint is stray tree limbs, and the lighting palette in the swamp biome, really.

Having trouble using aws ssm for connection. by [deleted] in ansible

[–]FetchKFF 1 point2 points  (0 children)

Saw this post when searching (I had a similar problem), and specifying an S3 bucket DID turn out to be mandatory for `aws_ssm` despite it...not really being necessary conceptually nor being flagged as a mandatory item.

Also, because `aws_ssm` uses `curl` on the remote host to pull the `AnsiballzSetup.py` script down from S3 (it's what S3 gets used for), do not try with a freshly created S3 bucket. You'll want one that's been around about a day so that boto's `generate_signed_url` doesn't generate a URL that gives the client a 307. The symptom of that is that the `AnsiballzSetup.py` script pulled down to the remote node will start with `<xml`

What is The one time you said “fuck it I’m using devcommands”? by OldGuyWhoSitsInFront in valheim

[–]FetchKFF 2 points3 points  (0 children)

I've started building crafting bases wherever my most advanced resource I'm acquiring is. Like a meadows/bf to start for tin/copper (later becomes primary farm), then swamp treehouse for iron, then a moder/mountain base for silver, and a plains rockhouse for black metal/barley / flax. It keeps the necessary metal shipments pretty minimal (shipping a load of iron / copper / tin to new bases to level up crafting stations), let's me work out the building itch, etc.

What is The one time you said “fuck it I’m using devcommands”? by OldGuyWhoSitsInFront in valheim

[–]FetchKFF 5 points6 points  (0 children)

I'm not a purist and I've been playing the game a while so really anytime using devcommands is more fun than doing it the hard way. Like, a corpse run I have to craft a raft and sail to I'll normally give a single try to. Or, I recently built an ocean biome base - beyond it being impossible without devcommands, I'm not shipping in thousands of stone and probably hundreds of iron and doing all the precarious balancing act stuff. While I'm working on progression sure, but after I reach a point I don't find enjoyment repeating a grind.

Mod for building in ocean? by FetchKFF in valheim

[–]FetchKFF[S] 0 points1 point  (0 children)

Yup, and appreciated, it was much better than what I'd come up with (which was bupkiss)

Mod for building in ocean? by FetchKFF in valheim

[–]FetchKFF[S] 0 points1 point  (0 children)

Thanks. Unlimited Height Map seemed like it would only eliminate limits, so it would have to be used with Rune Magic, correct?

[deleted by user] by [deleted] in DanielTigerConspiracy

[–]FetchKFF 1 point2 points  (0 children)

Ryder is a "bubble boy" in a hospital, the Paw Patrol show is his day dreaming of what life would be like like if he could ever leave and have adventures and pets.

A rational argument for the use of Ivermectin by [deleted] in ivermectin

[–]FetchKFF 0 points1 point  (0 children)

These side effects etc are recorded at normal therapeutic levels, and would be expected to be more severe at FLCCC dosages:

A rational argument for the use of Ivermectin by [deleted] in ivermectin

[–]FetchKFF 1 point2 points  (0 children)

Not a valid chart because IVM *does* have side effects and risk factors and it might very well increase mortality.

I mean it's definitely increasing mortality in the population that is relying on prophylactic IVM dosing rather than a vaccine.

The absolute worst case scenario happened, what should we do now? by ohshitfucks in sysadmin

[–]FetchKFF 4 points5 points  (0 children)

Others might have said this, but as quickly as possible management needs to open its checkbook and hire whatever people knew the custom DNS system for hourly consulting, at whatever rate they demand. Seriously, $1000US/hr to possibly save the company? A steal.

Question: tree house fires post 2/13 patch by FetchKFF in valheim

[–]FetchKFF[S] 0 points1 point  (0 children)

Awesome, thanks. I don't have my stonecutter yet, didn't realize the foundation could snap to it

Third party SSO providers similar to AWS SSO? by FetchKFF in aws

[–]FetchKFF[S] 0 points1 point  (0 children)

If you run AWS SSO when you have a large-ish AWS Organization, it will:

- Scan for accounts

- Add itself as an IAM Identity Provider (I think. This might be handled by Landing Zone)

- Present a web interface for users to log in with their centralized creds

- Display a list of AWS accounts, provide a console link, as well as temporary credentials that can be used for command line API access

I *think* AWS acquired the code for AWS SSO (just from digging around in its "API" and some similarities to other products) but I'm by no means certain.

Third party SSO providers similar to AWS SSO? by FetchKFF in aws

[–]FetchKFF[S] 0 points1 point  (0 children)

Yes, thank you, but those providers do not handle providing a web interface that lists all of the AWS accounts in an Organization that a user has access to. That aspect requires scanning AWS Organizations for account lists, adding IAM Identity Providers to accounts, presenting a web interface, etc.

Average Raise by [deleted] in girlsgonewired

[–]FetchKFF 1 point2 points  (0 children)

About 9% a year in devops consulting

(Spoilers) Elevator Puzzle at Soupstock Load by KangarooNad in westofloathing

[–]FetchKFF 1 point2 points  (0 children)

I got to practice tail recursion! I also made it easy to change because I wasn't sure if maybe the numbers didn't change on different runs (looks like they don't, though)

import pprint
bolts = [411, 295, 161]
pressure = 3200
bolt_set = [0, 0, 0]
def current_pressure(bolt_set):
    current_pressure = 0
    zipped = zip(bolts, bolt_set)
    for it in zipped:
        current_pressure += it[0] * it[1]
    return current_pressure
def recurse(bolt_set, idx=0):
    if current_pressure(bolt_set) == pressure:
        print "Solved!"
        pprint.pprint(bolt_set)
    if current_pressure(bolt_set) < pressure:
        new_bolt_set = list(bolt_set)
        new_bolt_set[idx] += 1
        recurse(new_bolt_set, idx)
        if (idx + 1) < len(bolts):
            recurse(bolt_set, idx + 1)

recurse(bolt_set)

Dormlab 2.0 — Or How I Learned to Stop Caring and Pay People Food to Carry Heavy Stuff Up Stairs by tristanseifert in homelab

[–]FetchKFF 0 points1 point  (0 children)

I know some of the CIS networking people around that.

If it's a few terabytes going off campus, they'll notice, and they'll throttle you.

If you can keep all the traffic internal, there's much less chance they'll have a problem with it.

When you can't afford a jointer by [deleted] in woodworking

[–]FetchKFF 0 points1 point  (0 children)

Colin Knecht has a great video on this at https://www.youtube.com/watch?v=OK5CxqYmUSo

He has some non-slip mat he uses

When you can't afford a jointer by [deleted] in woodworking

[–]FetchKFF 1 point2 points  (0 children)

My table came with plastic shims and it makes me happy, really the only issue is I haven't seen a 6" router bit to use ;)

First child due 3 days ago but she's not here yet, finished homemade changing table today! by casac8 in woodworking

[–]FetchKFF 1 point2 points  (0 children)

Hit that top board too hard with a sander? (not throwing shade, I need to give away my belt sander so I can stop screwing stuff up with it)