dengtav

joined 1 month ago
[–] dengtav@lemmy.ml 4 points 3 days ago

Thanks for the write up!! :)

[–] dengtav@lemmy.ml 14 points 3 days ago (8 children)

Could anybody in short explain, what I have to understand from "it's tagged"?

The commit shows that there was a longer with 3.0.0 tag before and now its just 3.0.0

What does that tell us? :D

[–] dengtav@lemmy.ml 41 points 3 weeks ago (5 children)

This seems like a normal cheap android phone with a bootloader-unlocked operating system and some pre-installed ad-block and rethinkDNS'ish Apps imstalled?

And no offence, but the advertising video itself is more scamy then the wedding-dress shop around the corner that is always closed and dusty, but still paying a horrendous amount of rent each month...

 

Hello everyone, I need some help with using variables in jinja templates.

Disclaimer: I am pretty new to ansible, so feel free to tell me that I understood something wrong.

What I'm trying to do

I try to use a variable inside a variable, that gets called from a jinja template

I have my network ranges defined in the global vars

networks:
  lclsrv:
    ipv4: 10.10.10.0/24
  ext:
    ipv4: 1234.123.123.12/x

Then I createt a role called "iptables", with which I would like to manage all iptables on all hosts. In its defaults, there are (obviously) the default_iptable_rules defined.

Besides them, there are host specific iptables, which are also defined in the defaults, like this e.g:

host1_rules:
  - "-A INPUT -p tcp --dport 80 -j ACCEPT"
  - "-A INPUT -p tcp --dport 443 -j ACCEPT"

In some of the host specific rules I have to define a network range from the global vars, like:

host2_rules: 
 - "-A INPUT -p tcp -s {{ networks['ext']['ipv4'] }} --dport 6000 -j ACCEPT"

In the template I try to insert these host specific rules like this:

{% for rule in vars[inventory_hostname + '_rules'] %}
{{rule}}
{% endfor %}

I think I understood, that this "structure" is not the recommended ansible way. Until now we got all host specific iptables organized in there host files, which is probably the clean way of doing this (?) But with lots of hosts this got very messy, so I want to manage them in one single file, to have them all together.

What I get

The for loop itself works as expected, but the variables won't get processed. The resulting /etc/iptables/rules.v4 for host2 will look exactly like this: -A INPUT -p tcp -s {{ networks['ext']['ipv4'] }} --dport 6000 -j ACCEPT

So the template get the element from the host specific variable as a string but won't interpret the variable inside of this string.

I looked at suggestions to use the lookup function, but this also did not work. When I replaced the variable inside of the rule-string with the lookup, the lookup-functiongot printed out, just like the variable in "{{}}".

I am struggling with this sinc last monday and I would appreciate any help! Tanks!

81
submitted 4 weeks ago* (last edited 4 weeks ago) by dengtav@lemmy.ml to c/linux@lemmy.ml
 

Another "Differences in Linux" question :)

I often wonder, what exactly is the difference between this services?

I understand, that:

  • github.com is a company, where as gitlab and forgejo are (softwares)?
  • They all "manage/wrap/interface with" git?

Questions:

  • what software does github.com use?
  • whats the difference between them (pros/cons)?
  • what about self-hosting? Possibilities/Preferences?

As always, thanks beforehand :)

[–] dengtav@lemmy.ml 9 points 1 month ago* (last edited 1 month ago) (2 children)

I postet a screenshots from https://manjaro.org/products website where they have a stock photo of a macbook besides the download button for the desktop .iso

Know theres another macbook stockphoto at gnomes website.

So either there are no other laptops produced that fit the highly enterpr1se entrepreneur busine5s investment1t!1! life style of the regular linux users who visit these websites, or manjaro and gnome are all investing in asahi linux secretly.

I understand that the iphone became a synonym for "mobile phone" especially when it comes to graphics. The unique look of them, especially when they still had their home button, makes it very easy to draw one on a computer e.g.

And macbooks are widely used by professionals of all disciplines, so yes, macbooks are associated with profession.

All fine, but why on a Linux-Distro website, like manjaro ?! Why on Gnome? Apples not really invested in getting open source software running on their systems, so where come the probs from and what for?

[–] dengtav@lemmy.ml 2 points 1 month ago (1 children)

I do the exact same thing as OP with KeepassDX at work and works pretty nice so far, since I gave KeepassDX the right acces rights on the nextxloud directory.

What diferences have you figured out so far with Keepass2android in comparison ?

[–] dengtav@lemmy.ml 5 points 1 month ago (2 children)

I see lots of sidekicks against Manjaro, it's a thing apparently :D I am using manjaro on a framework 16 for about a year now and it never broke anything, just works wonderful for me, although I dont have any fancy requirements other than a working Linux.

But i would be interested in the critics about the team and their "bad" decisions, as stated in some comments. What were the problems?

 

Another "difference between" Linux question: What ist the actual difference between them?

How fast/stable are releases, compared to each other and in comparison to upstream Arch?

I think I dont get the difference because in my understanding Arch is a rolling release and with both alternatives you want to stay as close to there releases as possible, but dont break you system frequently, right?

So whats the main differences?

[–] dengtav@lemmy.ml 20 points 1 month ago
 

I use Markdown for nearly all of my documentation, be it for work, university or private stuff. I also started using Nextcloud quite often and really love it.

The only thing that bothers me is the Richtext Editor in Nextcloud and the odd Markdown mode, which seems not to work? I have it installed and enabled, but in normal text files, as well as in collectives (both use NC text app) simple markdown syntax does not get rendered.

I cant copy paste from one to another which is frustrating obviously. I re-format everything by hand, in either direction.

I especially like the "Collectives"-App, which makes parallel documentaion with a group very convenient, but I would like to edit the files with a markdown editor an my desktop,e.g. Obsidian or so, which doesnt work, since Nextcloud text wount parse it as markdown.

Does anybody got a solution for this, or am I doimd sth wrong?

92
submitted 1 month ago* (last edited 1 month ago) by dengtav@lemmy.ml to c/linux@lemmy.ml
 

I stumbled upon this post regarding an earlier rant about wayland, but now it seems fine, according to the author.

After using Linux for nearly 5 years, using both depending on distros defaults, I have to admit that I never got the core/main/game changing differences between wayland and x11.

To be said, that I also dont do fancy linux things other than basic sysadmin stuff and from time to time repair the mess my curiosity left behind.

Could somebody explain the differences between those two and afterwards maybe also say some words about what this has to do with the difference between window managers and desktop environments?

I am also happy about links to good blog posts or stuff, that target this very questions (as long as the questions make sence of course). Thanks beforehand :)

 

When did Manjaro release an image for x86 MacBooks ?

 

I got an Archer C7 and i am wondering what to do with it. It already runs openwrt, but we dont need another router.

Are there any recommendations on using a openwrt as Pi-Hole-like thing for example?

[–] dengtav@lemmy.ml 2 points 1 month ago (1 children)

This is unfortunately completely wrong, since you can learn from the homepage of matrix very own client Element, that its supported an trusted by a whole bunch of NATO Armys, including the US of course...

I don't mean by that you shouldnt use matrix, but arguing against signal with matrix is, in so many means, hilarious.

The arguable, but professional cryptographer soatok discribes from a mathematical/cryptographical point of view, what it needs to be a Signal competitor, where matrix (and others) dont catch up (unfortunately)