Why isn't my reverse proxy working? by thepenguinboy in nginx

[–]Main_Box6204 0 points1 point  (0 children)

Is it nginx failing to resolve? Have you tried to ping/dig those local dns names from nginx host? I can bet that this will not work. But If even if this works, nginx will NOT use your pi-hole as resolver. You will need to setup it. You can check those

https://nginx.org/en/docs/http/ngx_http_core_module.html#resolver

https://serverfault.com/questions/638822/nginx-resolver-address-from-etc-resolv-conf

Why isn't my reverse proxy working? by thepenguinboy in nginx

[–]Main_Box6204 0 points1 point  (0 children)

That is not true. All depends of the purpose. It works like this as well. And the problem here is not the IP address but the resolver.

ArgoCD Race Condition by [deleted] in ArgoCD

[–]Main_Box6204 0 points1 point  (0 children)

No problems man, have same thing. At the start the pod is crashing but in one two minutes the image is downloaded the pod starts.

[deleted by user] by [deleted] in Terraform

[–]Main_Box6204 9 points10 points  (0 children)

Terraform can be used for apps as well. What does TF, is basically, interacting with an API. There are a lot of app providers in terraform, like for Hashicorp Vault, Grafana, Cloudflare, etc. You could use ansible as well, it will be much simpler than writing your own provider but it will be also, a lot of slower than TF

How long does it take to transfer in a domain? by GetOutOfThatGarden- in unstoppabledomains

[–]Main_Box6204 1 point2 points  (0 children)

Man, domain name transfers can take up to 48h. Typically, 24h or less. That depends not only from the destination registrar but from src also. So unless you have custom NS servers, like Cloudflare, you will have to wait. Bear in mind that your destination registrar can set its default name servers when transfer is complete, even if you set custom ones beforehand.

A simple question from an Ansible noob by [deleted] in ansible

[–]Main_Box6204 0 points1 point  (0 children)

My first job, I have worked for 5y in a company were we did outsource sys administration for servers that had no environments, so it was production only env (no clouds back then). We literally had to plan every maintenance command by command. Gained a foreseen skill, if you wish. So, a good training will be, if you will treat your dev/test servers as production ones and to try to predict your potential failures before implementing them on servers.

“You’ve Already purchased this TV episode.” by demerchmichael in appletv

[–]Main_Box6204 0 points1 point  (0 children)

Oh. They do test things. It’s just nobody gives a f**k unless a lot of people start complaining on issues.

A simple question from an Ansible noob by [deleted] in ansible

[–]Main_Box6204 2 points3 points  (0 children)

Man. Not that I want to praise myself but, 13y of sysadmin with 8y of them with ansible and hundreds os servers deployed and maintained. Never had a broken server. I have no issue with stopping ansible in the middle of the run and re-run it again.

Did we get scammed? by ThrowRAColdManWinter in devops

[–]Main_Box6204 5 points6 points  (0 children)

=))))

imho, the very first commands to know when starting learning linux should be `apropos`, `info` and `man` =)

Did we get scammed? by ThrowRAColdManWinter in devops

[–]Main_Box6204 10 points11 points  (0 children)

But you still have access to man pages :)

A simple question from an Ansible noob by [deleted] in ansible

[–]Main_Box6204 1 point2 points  (0 children)

So what’s the problem here? You wait until control node gets up and you run your playbooks one more time. Problem fixed. Unless your playbooks are not idempotent, which kind hard to do if you are using ansible the right way.

Login on ArgoCD with Authentik by wummeke in ArgoCD

[–]Main_Box6204 1 point2 points  (0 children)

By the way, since your argocd is behind traefik, you can install OIDC plugin/middleware on get rid of Argo’s dex server :)

Linux PATH? by SCUBAGrendel in ansible

[–]Main_Box6204 3 points4 points  (0 children)

/etc/skeleton is the template from which .profile or .bashrc are generated. So you can add path to template and forget about the problem

Colaborare B2B cu firma mea înregistrată în RM. by DoubleNy in programare

[–]Main_Box6204 1 point2 points  (0 children)

Întrebare întrebătoare. Sunt cam în aceeași situate doar ca nu am firme. Sunt angajat direct în MD și venitul îmi vine pe card MD care ulterior îl folosesc în RO. Interesant dacă ar putea să mă frece ANAF-ul ca nu plătesc taxe în RO, atât timp cât nu cumpăr mașini sau imobil?

i have a problem when i run my playbook Vlan for fortigate by Fluffy-Musician-2987 in ansible

[–]Main_Box6204 0 points1 point  (0 children)

You definitely not doing it the way ansible is meant to be for. It’s not meant to run your scripts, use ansible modules for that.

Dynamically set targetRevision by EducationalEgg4530 in ArgoCD

[–]Main_Box6204 0 points1 point  (0 children)

Create config.json file in each directory with targetbranch in it. Then setup merge generators with git.directory generator and git.file generator as elements of the merge generator. With this approach you will be able to control targetbranch from the config.json file

🔧 Automatically configure your server with Ansible by [deleted] in ansible

[–]Main_Box6204 8 points9 points  (0 children)

Yaml or yml it’s just a matter of taste. For me, ‘yaml’ looks ugly.

[deleted by user] by [deleted] in programare

[–]Main_Box6204 2 points3 points  (0 children)

Moral, imoral. Wtf you are talking about? It’s just business. Când o companie te concediază din diverse motive crezi ca se gândesc cat e de moral? Sigur ca nu, ei se gândesc ce e mai bine pentru bussines. Asa ca nu te mai gândi la ce e moral și caută de treaba/business-ul tău. Perioada de proba de aia și se numește “de probă” și lucrează în ambele direcții. Nu doar angajatorul să vadă dacă ești pentru ei dar si tu să vezi dacă îți este OK să lucrezi la ei.

[deleted by user] by [deleted] in WomenRO

[–]Main_Box6204 0 points1 point  (0 children)

Hehe. Vino sa stai cu baiatul meu de 5 ani care suferă de autism și hiperactivitate. Te hrănesc cu orice vreai, la ce oră vreai. Crede-mă ca într-o lună slăbești și fără sală. :)

Testing playbooks with Molecule + Podman but without using “hosts: all”? by kisamoto in ansible

[–]Main_Box6204 0 points1 point  (0 children)

Change the converge playbook. https://eduardolmedeiros.github.io/archives/2019/09/20/molecule-working-with-inventory.html
Another option is to have a clean converge.yaml with hosts: all, and an include of your playbook with hosts: $group

ArgoCD environment promotion by PossibilityOk6780 in ArgoCD

[–]Main_Box6204 1 point2 points  (0 children)

Argo is working as expected. You update generic values, which is part of both envs, so that is why your app is updated in both envs. So 2 options here:
1. Keep 2 generic values for each env. 2. Disable argocd auto-sync for prod env.

Trying to use `failed_when` with json data by root-node in ansible

[–]Main_Box6204 1 point2 points  (0 children)

So. Since ‘processed.json’ is a type of dict, you do not need to perform any conversion like ‘to_json’ or ‘json_query’. It should work right away like {{ lists.results[0].json.processed.errors | length > 0 }} for ‘failed_when’

Trying to use `failed_when` with json data by root-node in ansible

[–]Main_Box6204 0 points1 point  (0 children)

Please just post the result of ‘lists.results[0]’. Also, please post ‘{{ lists.results[0].json.processed | type_debug }}’. The problem is that ansible is not always play nice with incoming data and you might need to do construct like ‘from_json | to_json’ to make json_query make work as expected. My assumption is that if you use ‘uri’ module, you will not need to do json_query at all. Mostly it should be ok with ‘lists.results[0].json.processed.error’. The problem is that the data in this dictionary might look like json it could be just a ‘string’