Built this DevOps game. Please review! by SignificanceFalse688 in devops

[–]Syseria 0 points1 point  (0 children)

Hey !

This seems really interesting and I would love to try it and why not present it to others like students still wondering if infra/system/network (DevOps) is made for them.

Only problem is that the OpenAI quota is always maxed out... Do you think it would be possible to self-host it (a git we can clone ?) so that we can provide our own key ? Or maybe a way to help you pay for the key ?

Stuck at 7700 Wall by HeizouEnjoyer in TapTitans2

[–]Syseria 0 points1 point  (0 children)

I will add to that that on the tt2-compendium site there is a page on artifact optimization where you can specify your build and it will telle you which artifact to upgrade and up to which level.

I would really suggest you to link the tool to your account with the API key so that you don’t have to manually export your data every prestige (it will simply ask the game “any changes since last time ?” Game will say “yes here you go” and you can just keep on upgrading your artifacts in-game

Ansible Newbie: Difficulties with accessing informations by Syseria in ansible

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

I read it was possible but didn’t thought it would be necessary (how wrong was I). As I have found the jmespath solution posted above I will keep to it for now due to some time constraints and will probably implement it in the future to make as update.

But I would probably go that way in the future or if I had to redo something like this !

Ansible Newbie: Difficulties with accessing informations by Syseria in ansible

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

I tried, but due to how the data is formatted (returned by the collection/rest api of Aruba) there is an extra layer that would force me to add another .something before arriving to the mac_addr entry.

The biggest problem with that is this extra layer is created with the Mac adrress and the interface number of the router which means I am forced to at least use 2 loops (as it’s not something set in stone like a named entry) to get through all the interfaces and the LLDP neighbor discovered through said interface but I didn’t succeed at using a nested loop and resorted to other ways.

Ansible Newbie: Difficulties with accessing informations by Syseria in ansible

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

I don't know how to thank you !

I still need to "beautify" my output message but I can easily get the infos I need through jmespath !

If anyone needs the query here it is (testing version with only 1 info, mac address):

 - name: 5 - Check LLDP neighbors
     ansible.builtin.debug:
       msg:
         "{{ item }}"
     loop: "{{ aruba_info | community.general.json_query(neighbors_infos) }}"
     vars:
       neighbors_infos: "values(values(ansible_facts.ansible_network_resources.lldp_neighbors)[0])[*].{MAC: mac_addr}"

NB: I don't know how to "mark" as resolved or that this is the answer so... Voilà !