2025-05-01
Let's talk about how retarded ansible is. When you write an ansible playbook it feels like programming. And you would expect a python-based tool to have nice data types? wrong
Imagine you want to use a boolean
data type. You write the following playbook:
- gather_facts: no
hosts: localhost
tasks:
- debug:
msg: "my_variable evaluated to True!"
when: my_variable
You try to pass the "False" value when calling it... surprise-surprise, it's evaluated to True!
$ ansible-playbook -i localhost, -e my_variable=False hate.yaml
PLAY [localhost] **************************************************************************************************
TASK [debug] ******************************************************************************************************
ok: [localhost] =>
msg: my_variable evaluated to True!
PLAY RECAP ********************************************************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
This is normal so far, python would also consider a nonempty string True.
What really grinds my gears is that the official, blessed way to pass a boolean variable to a playbook is this:
-e '{"my_variable": False}'
Very beautiful and discoverable. I've always wanted to write json(?) by hand in a linux cli.
What would be a better solution? Ansible could just pass the variable as string to the playbook and then the yaml boolean rules would apply. Users would only need to know yaml and nothing python or ansible specific. None of this bullshit:
-e '{"my_variable": False}'
my_variable | bool
2025-04-09
Fucking hate HashiCorp company and all their products
Their naming oozes pretentiousness. E.g. "HashiCorp" -- sounds like something secure and corporate, right? Or "Terraform", sounds like something great, like humanity's latest achievement. Of course it makes sense. No one will buy your stuff if you say our "Vault" product (oh yeah, "Vault" is another pretentious name) is a glorified database with encryption
The cherry on top: I visited their website and the first installation manual is for macOS. Yet another way to signify "we are for the rich people"
2025-03-25
Fucking checkmk, a cruel joke, a piece of german shit. How often do the checks run? no one knows. You think you can navigate to a host and override e.g. free space monitoring rules? haha get fucked, user
oh well, my colleague tells me you can actually accomplish the last one. But you have to know that the link you need to click is neither marked with an underline nor looks like a button. You just have to know that in the table with keys and values you change the value by not clicking on its cell but by clicking on (an unmarked) key! fuck this shit
bottom line: checkmk developers: 1. kill yourself daily. 2. update your docs and remove useless german philosophy from them (that's not a joke, they philosophize in the docs to ... stroke their ego?)
2025-02-28
Каждый сотрудник руцентра должен зайти в википедию и помедитировать на статью «Самоубийство»
Кто такой сотрудник руцентра (подсказка для поисковых систем: сотрудник руцентра, сотрудник рунити, сотрудник runity, сотрудник nic.ru, сотрудник хостинг коммьюнити) если не жалкая карикатура на человека? Думаете мы забыли про блокировку torrents.ru без решения суда? Никто не забыл
Ладно, что-то я жестчу. Ясно что члены совета директоров виноваты больше, рыба гниёт с головы, нужно крыть матом их пропорционально больше. Спи вполглаза совет директоров и молись чтобы моя лень не дала мне загуглить ваши имена
2025-02-09
Ole Lehmann is gay and retarded and a fucking twitter user