db0

joined 2 years ago
MODERATOR OF
[โ€“] [email protected] 7 points 10 hours ago (1 children)

You misunderstand them. For many such campists. China is already perfectly fine.

[โ€“] [email protected] 7 points 10 hours ago

I'm surprised we got even noticed enough to be blocked in the first place.

[โ€“] [email protected] 19 points 10 hours ago* (last edited 10 hours ago) (3 children)

Get them to ban your account. Then their users will not be able to see your posts or comments, to reply to. Ironically, the best gift they gave me.

[โ€“] [email protected] -3 points 13 hours ago (1 children)

Every accusation is a projection

[โ€“] [email protected] 2 points 22 hours ago (1 children)

Isn't that relative. I.e. "higher" as in "higher than yours"? I.e. the way MMR works in most competitive games like chess?

[โ€“] [email protected] 3 points 23 hours ago (7 children)

A friend in the scene is telling me that the hardcore Tekken players are having a meltdown over this, while the casual enjoyers don't mind it.

[โ€“] [email protected] 7 points 23 hours ago

I love that they "fixed" it by misgendering drag again, then "fixed" it again, by just using drag's username (i.e. capitalized), which just goes to show how confusing drag is.

[โ€“] [email protected] 2 points 1 day ago

Oh, starting with these two neonazi chuckle fucks again?

[โ€“] [email protected] 8 points 1 day ago (1 children)
[โ€“] [email protected] 49 points 1 day ago (2 children)

For example, there's a user in the fediverse known as Drag, and people were blowing up because of his pronouns.

"I'm so against transphobia, I'm going to misgender the very person I bring as example".

Gr8 b8 m8

[โ€“] [email protected] 2 points 1 day ago

Depends on what improvement you expect to see. It's been doing what it always was, just the amount of things supported has been steadily increasing

 

Cross-posted from "New Ansible comm" by @[email protected] in [email protected]


Hey all, I've created a comm for my favourite infra automation tool: Ansible.

There's one in l.w. but it's been abandoned for a while now and barely has any traffic, so I felt it's a good time to distribute things a while

[email protected]

EDIT: Ignore the thumbnail. Lemmy is bugging out again with the previews.

 

I recently had the need to export an AAP inventory and use it manually with ansible. However there's no easy way to do this and I couldn't find anything online to do this, so I crafted a little conversion script.

First of all, you need to export your AWX/AAP inventory from the API (just go to https://your.awx.domain/api/v2/inventories/<inventory id>/script/?format=json&hostvars=1) and save the file locally.

Afterwards, copy the below script and run it against the json inventory

import json
import yaml
import argparse

def convert_inventory(json_file, yaml_file):
    try:
        with open(json_file, 'r') as infile:
            inventory = json.load(infile)
        
        with open(yaml_file, 'w') as outfile:
            def convert_lists_to_dicts(obj):
                if isinstance(obj, list):
                    return {str(item): None for item in obj}
                elif isinstance(obj, dict):
                    return {key: convert_lists_to_dicts(value) for key, value in obj.items()}
                else:
                    return obj

            inventory = convert_lists_to_dicts(inventory)            
            for hostname,hostvars in inventory['_meta']['hostvars'].items():
                inventory['all']['hosts'][hostname] = hostvars
            del inventory['_meta']
            yaml.dump(inventory, outfile, default_flow_style=False)            
        print(f"Converted {json_file} to {yaml_file} successfully.")
    except Exception as e:
        print(f"Error: {e}")

if __name__ == "__main__":
    parser = argparse.ArgumentParser(description="Convert Ansible inventory from JSON to YAML format.")
    parser.add_argument("json_file", help="Path to the input inventory.json file")
    parser.add_argument("yaml_file", help="Path to the output inventory.yml file")
    
    args = parser.parse_args()
    convert_inventory(args.json_file, args.yaml_file)
26
New Ansible comm (lemmy.dbzer0.com)
submitted 1 day ago* (last edited 1 day ago) by [email protected] to c/[email protected]
 

Hey all, I've created a comm for my favourite infra automation tool: Ansible.

There's one in l.w. but it's been abandoned for a while now and barely has any traffic, so I felt it's a good time to distribute things a while

[email protected]

EDIT: Ignore the thumbnail. Lemmy is bugging out again with the previews.

 

Was very excited to get this expansion as it added some elegant additions to the well-crafted formula. I managed to play 3 games since Friday with it (3pl) and the experience solidified my view on it and its place as one of my favorite board games.

Pic is from the first game we played.

The Sardaukar Commanders add a much needed early tempo option for Solari. Normally you don't really have anything to do with Solari in the early term, as it's usually not worth spending it for 1 water when you could be saving it for a council position or a swordmaster. However now with the Sardaukar in play in some easy to reach positions, it gives players an incentive to spend their early money to quickly grab one of them before they're all snatched away.

Likewise in the late game, once you have your council seat and swordmaster, Solari didn't have that much impact outside the occasional conflict or card. Now if you have a few Sardaukar in your employ, they give a significant power to your combat efforts by quickly translating your spare change into extra reinforcements, plus some good abilities. I really like the difficult decisions this opens.

Likewise Technologies give more versatility to spice. Without them, someone who didn't have a lot of access to the influence side of the board, didn't have a ton of options for using spice, other than going to the guild now and then. The Ix tech now allows someone who didn't get access to a lot of influence cards, or who doesn't care about combat as much, to use green cards to utilize their spare spice as well. I am always up for giving more options to the players. The tech effects can also be quite powerful when paired with the right leaders. I won my second game handily by making a tech-intrigue combo and just spamming troops out constantly through it.

Finally the new leaders are all quite nice, and I like the more unique directions they took with some of them like the Guild Navigator.

Ultimately, very very happy with this addition, even if some of my playing mates were more muted in their appraisal.

 
723
crushing it (lemmy.dbzer0.com)
 
 
view more: next โ€บ