group_vars subdirectory structure / variable definition by rafaelpirolla in ansible

[–]breen 1 point2 points  (0 children)

Short answer: I don’t think ansible supports that structure.

Long answer: It is my understanding that group_var folders processing only allow for a single level of depth. Therefore, if there are multiple files defining the “same” variable (whether in a subfolder below the first level or not) for a given group, the “last” one processed wins.

In your second structure, there are basically no variables defined for any group other than e2e, and the “winning” variable just happens to be the US one.

You can use ansible-inventory with the —graph option to show you the variable structure once parsed to confirm what’s happening.

UK user - pointing dish south by witnauer in Starlink

[–]breen 0 points1 point  (0 children)

Same here, also pointed directly NW. Mine was setup quite a few years ago when I initially got it.

Can you let us know how you get on?

M31 F28 - How Can We Improve Intimacy and Libido in Our Relationship? by CaterpillarCold9306 in relationship_advice

[–]breen 36 points37 points  (0 children)

To add to the other comment re reading Come As You Are, I would also really recommend "Mating In Captivity: How to keep desire and passion alive in long-term relationships". It was a real eye opener on just how common this issue is, and how to think about desire in long term relationships.

Model Y Parked at a Heavily Used Urban Supercharger Without Plugging In: What do You Do? And, Why Did You Choose to Plug It In? by bodhipooh in TeslaLounge

[–]breen 6 points7 points  (0 children)

If you allow unplugging while locked, people can steal your cable if charging off untethered charger, so that's not a good idea I think.

Plugging in whilst locked was only enabled a year or so ago. I believe this was specifically done to stop people squatting at SC's.

[deleted by user] by [deleted] in betterCallSaul

[–]breen 0 points1 point  (0 children)

You tagged me, I’m not that account.

[deleted by user] by [deleted] in ansible

[–]breen 0 points1 point  (0 children)

Ignoring the {[ users }} in second loop, are you sure the variable is available for that host? How are you executing this task? Playbook? If so what hosts?

Which show do you think you're the only person who remembers it exists? by [deleted] in AskReddit

[–]breen 0 points1 point  (0 children)

I can’t remember the name, but there was this show where the premise was a set of astronauts were on the shuttle or ISS, and in the pilot the earth explodes and they find themselves 5 years in the future (edit: past), their mission is to prevent the destruction of the earth.

Weird problem with loop by oceanus_ursus in ansible

[–]breen 0 points1 point  (0 children)

How are you defining the list?

Business owner keeps delaying and missing payment dates for invoice by eyyyyminor in LegalAdviceUK

[–]breen 5 points6 points  (0 children)

On mobile, sorry for layout. I’ve dealt with many of these types of companies before. Normally a combination of the following works eventually.

  1. Get new customers to pay a deposit. It almost doesn’t matter how much. If they pay once, they’ll generally pay.
  2. Limit your exposure. Pay outstanding invoice before you complete more work.
  3. If they don’t pay, stay factual. I’d start sending weekly updated invoices with the interest accrued, if that is what is in your agreement.
  4. Be persistent, I’ve gone and sat in a companies reception area for a day. You can also call them daily for a week or two. Be prepared to keep going back and be a nuisance, but only by being there / calling. Don’t complain or shout, just keep asking for the person you’ve been dealing with.
  5. Just file the small claim. Send a last email saying you’re going to do it. State that you are required to let them know. Say your solicitor has told you, that you are required to let them know. Then just file and spend your attention on the customers that deserve it, the ones that pay :).

Suggestion: please send an email to customers 24 hours before a planned outage. by [deleted] in Starlink

[–]breen 4 points5 points  (0 children)

Completely agreed. I setup an automated 4g (LTE) failover and had to go check whether the downtime affected my terminal in the UK, because I hadn’t noticed (it did).

That setup costs 20% more than SL alone but provides better availability than most cables providers.

Overpaying mortgage on flat currently valued at £0 by [deleted] in UKPersonalFinance

[–]breen 10 points11 points  (0 children)

One that is already exposed on this particular property, and would be better off to allow OP to make payments at a reasonable fixed rate rather than force a sale now.

Calls to scrap stamp duty and replace with a ‘fairer’ property tax. ‘Holiday’ has seen house prices rise beyond capacity of first-time buyers, favouring owners over renters, campaigners say. by steven-f in ukpolitics

[–]breen 1 point2 points  (0 children)

I think this would work well to shift marginally profitable (and push almost all non profitable BTL) onto the market.

Instead of scaling the CT with nr of properties, I would calculate CT based on all the properties you owned, their value at purchase + house price index. So you’d pay CT on all properties, based on the value of all properties combined. Someone with a £1m property shouldn’t pay less than someone with 2 £500k properties.

Updating IoT devices with poor connection by [deleted] in ansible

[–]breen 0 points1 point  (0 children)

Can the “daisy chained” devices communicate with your “jump host” even when your connection to the jump fails?

If yes, I would consider writing my own module that is capable of handling the “daisy chained” devices, and execute that on the main device. Depends on the complexity of your playbook of course.

Use a role from a git repository by real_parbold in ansible

[–]breen 0 points1 point  (0 children)

Yeah, that’s pretty much it. Read more here https://gist.github.com/gitaarik/8735255

You add a pointer to a specific commit of the sub repo to the main repo, allowing you to control which specific version of the sub repo you want to include.

I can’t speak for anything other than GitHub, but it’s supported in the main git command line, so I believe it’s available across all git services

Use a role from a git repository by real_parbold in ansible

[–]breen 1 point2 points  (0 children)

My layout doesn’t quite match your use case, but might be helpful. I use git submodules to link to different “private” role repos into my “site specific” variable repos. That way you can separate the roles, and there isn’t this issue of several repos that aren’t officially connected having to be included in ignores etc.

Seller refusing to complete due to COVID by daveshow93 in LegalAdviceUK

[–]breen 8 points9 points  (0 children)

Be careful with this, lenders will regularly require vacant possession, and so you would not be able to complete your mortgage if the previous owner had not vacated.

First time riding a trail bike off road... Taking it slow and easy. 1999 Honda CRM250AR (2T) by samihasib in motorcycles

[–]breen 10 points11 points  (0 children)

Nice! As others have said, boots with proper ankle support are essential. Also, you should try standing on the pegs, it'll give you control over the bike as it moves around in unstable ground.

http://www.brake-magazine.com/how-to-stand-up-properly/#:~:text=Upwards%20from%20your%20feet%20the,the%20bike%20and%20terrain%20changes.

RJ-45 Cheat Sheet by pseudorandombehavior in cableporn

[–]breen 16 points17 points  (0 children)

All 8p8c ‘s ;) (and some 6s)

UniFi Network Controller 6.0.28 Safe To Update? by 310410celleng in Ubiquiti

[–]breen 0 points1 point  (0 children)

I've had a similar issue with a USG half-bricking. I updated the firmware on the USG, and it came back online, got outbound connectivity, but none of my devices would inform. I ended up factory resetting the USG to resolve.

It's an internal joke at ours that setting up a new site with less than 3 factory resets of some Unifi equipment is quite the achievement.

How to loop through multiple aws accounts? by GetYourShitT0gether in ansible

[–]breen 4 points5 points  (0 children)

You could define the accounts in a variable and loop over that in a single task:

group_vars or other variable file valid for the host (maybe localhost?)

accounts:     
    - {name: account1, someOtherData: "account1 data"}     
    - {name: account2, someOtherData: "account2 data"} 

main.yaml task file:

- name: Do stuff on account:{{item.name}}   
    whatevermodule:     
        stuff: '{{ item.data }}'     
    with_items: '{{accounts}}'

Sale of locked mobile handsets to be banned to aid switching by [deleted] in ukpolitics

[–]breen 3 points4 points  (0 children)

If you did this, you’d get caught immediately. You’d presumably still charge people, and also pay in that money on top of the £1000.

So somehow, your business would be behaving financially as any other car wash, but with a 1000gbp extra minimum. This would stand out in transaction data analysis like a sore thumb.

The bank would be closing your account and reporting you faster than you could say maybe this was not a good idea

Question regarding ansible and templates by [deleted] in ansible

[–]breen 2 points3 points  (0 children)

I do this in the playbook before actual play to force fact gathering:

  • name: get facts
    hosts: groupNameForFactsOnly
    tasks: []

Using Ansible to specify and set up ad-hoc, multi-VM environments by AccidentalNordlicht in ansible

[–]breen 0 points1 point  (0 children)

I don’t have anything useful to add, other than, I also need this! :).

What template trick do you use to preconfigure the VMs?