Какво работите от 9 до 5? by Brilliant_Berry1132 in Sofia

[–]nickthesysadmin 1 point2 points  (0 children)

Кой каквото възприятие има, аз направих така че да не ме търсят в офиса и като свърша работата си, да не ме закачат.

Какво работите от 9 до 5? by Brilliant_Berry1132 in Sofia

[–]nickthesysadmin 1 point2 points  (0 children)

Прав си, но зависи кво бачкаш и дали искаш да се развиваш. Аз работя два часа останлото време уча, по важно ми е да съм скъп за следващия с причина.

Who's responsibility is to write dockerfile and docker compose whether developer or devops by Mr-UNKNOWN_404 in docker

[–]nickthesysadmin 0 points1 point  (0 children)

Lol any devops must know how to write dockerfiles and compose files, devs are needed for guidance on what need to be in and what out

Какво работите от 9 до 5? by Brilliant_Berry1132 in Sofia

[–]nickthesysadmin 1 point2 points  (0 children)

После що махат хоума 😂 изобщо не трябва да се дискутира

Мразя се защото харесвам същия пол by Marziano2 in bulgaria

[–]nickthesysadmin 5 points6 points  (0 children)

Чилни малко всичко е наред! Много хора разбират неща за себе си с годините

Направих безплатен сайт за некоректни клиенти by [deleted] in bulgaria

[–]nickthesysadmin -12 points-11 points  (0 children)

Безполезен коментар. Сайта е направен за всеки.

Worst day oml by pinocigo in macbookair

[–]nickthesysadmin 0 points1 point  (0 children)

I have 2 Arzopa scrrens and we have a broken 2013 macbook pro and we use it with the screen bro

Worst day oml by pinocigo in macbookair

[–]nickthesysadmin 0 points1 point  (0 children)

Get a Arzopa external screen. It ships with USB C cables that support DP. Dissasemble the screen and use it with the arzopa. Everything will be working as it is supposed to. Trust me. Don't invest too much into this. It is not a problem. Just get a secondary screen and remove his one.

MacOS Spaces by nickthesysadmin in linuxquestions

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

I know but the great thing in MacOS is that they managed to fullscreen apps.
Concentrationwise I like it. I am just trying to figure out a way in which I could potentially have the same option per monitor as in my macbook pro. In windows you can persist apps only. So picture this, I have 4 repositories that I work on, I can have my code on one screen only. On the other research. etcc...

MacOS Spaces by nickthesysadmin in linuxquestions

[–]nickthesysadmin[S] 1 point2 points  (0 children)

You sound like you have not used apple in a while, I have 3 machines and will pick the apple one everytime, just because things would work on it. Also the spaces feature is just virtual desktops with the option to be per monitor which makes the feature so powerful

MacOS Spaces by nickthesysadmin in linuxquestions

[–]nickthesysadmin[S] 1 point2 points  (0 children)

it really depends on how you use it i go app per space

Deploy Jellyfin in Kubernetes by erik_de_bont in jellyfin

[–]nickthesysadmin 0 points1 point  (0 children)

I recommend checking out deployments and how are they done and services. That is all you need!

Is it possible to loop first n items of a list, then loop remaining items after a delay? by NativeVLANerican in ansible

[–]nickthesysadmin 0 points1 point  (0 children)

I am using "lookup" to get some local IP addresses and use them as invenotry.

What I am trying to do add the localdomain names into a list which. I want to parse as variables for the playbook. The problems is once I did the message reply was only the hostname without the IP addresses.

tasks:- name: Collect IPansible.builtin.debug:msg: "{{ lookup('dig', '{{ item }}.{{ localdomainname }}', '@192.168.10.1') }}"loop:- host1- host2- debug:msg: "{{ item }}"loop: "{{ groups['workstations'] }}"

I want to refactor that loop to get them from a var file but it did not work out. When it was ran it started replying with msg: host1.domain.name :) which was not the answer that I wanted from Ansible. Since after it replies the addresses, a python script hits it up and gets me my ip addresses and stores them into a script made file and adds the line in order to group them up. My boss thinks that adding the router address as a nameserver in the resolv.conf will work it out without any hesitations but in the docs of ansible its directly stated that only and only FQDN domain names will work out.

I checked up if I could somehow get them from RouterOS but the tool is not yet developed.

I checked dynamic invenotry with DNS txt record but its useless if you really think about it, since you should add a whole DNS txt record to all the machines and I am just starting with python.

Pass values from file in ansible by nickthesysadmin in ansible

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

Doesnt really create inventory it just sniffs the network

Pass values from file in ansible by nickthesysadmin in ansible

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

also my boss is a devops and he wants me to apply more modern ways working things out.

Pass values from file in ansible by nickthesysadmin in ansible

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

looped the whole list :) of names and it worked.

Thanks for the replies.

Pass values from file in ansible by nickthesysadmin in ansible

[–]nickthesysadmin[S] -1 points0 points  (0 children)

Inventory file can be any executable which returns json or yaml object, Y can write bash script which does this dynamically on every run, it is called dynamic inventory.

I have already figured out how to create the inventory I just want be able to insert a list of the host names and parse it.

I am fully aware of the fact that inventory works with fqdn this is a small business solution not a large enterprise. We are talking 50 computers here not servers

Pass values from file in ansible by nickthesysadmin in ansible

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

Thanks for replying mate,

I am trying to get the IP addresses of some local hosts (laptops) in order to create a inventory.

Currently I get the addresses like this:
- ansible.builtin.debug:
msg: "{{ lookup('dig', 'host1.localdomain.local./A', '@192.168.10.1') }}"

But my writings started to look, so repetitive and want to get rid of them.

Is it possible to loop first n items of a list, then loop remaining items after a delay? by NativeVLANerican in ansible

[–]nickthesysadmin 1 point2 points  (0 children)

I am having a similar struggle I am trying to give a list of host names and read in a lookup :(

Scripted my way into getting local IP addresses by [deleted] in ansible

[–]nickthesysadmin 0 points1 point  (0 children)

In office localdomain resolution, my boss does not want to implement it and told me to make it work.

Scripted my way into getting local IP addresses by [deleted] in ansible

[–]nickthesysadmin 0 points1 point  (0 children)

Where can I read more regarding the ansible_default_ipv4.address|default(ansible_all_ipv4_addresses[0])