
Justin
05.02.2018
06:46:08

Daniel Andrei
05.02.2018
06:46:09

Charl
05.02.2018
06:46:53

Daniel Andrei
05.02.2018
06:47:39
how about pip install -r
you're gonna have to awk through that list to get only the 1st column, but you can dnf install then after cleaning up the list

Google

Daniel Andrei
05.02.2018
06:48:11
it requires a little manual job, but it gets the job done lol

Charl
05.02.2018
06:48:21
good plan

Daniel Andrei
05.02.2018
06:48:42
that's why I always suggest avoidig all the hassle by writing a simple Ansible playbook
you can restore your system in max. 5 min with an ansible-playbook playbook.yml
by the way, does dnf keep a history of installed packages, something like pacman does in the /var/log/pacman.log ?
Oh yeah, it does, and it's called dnf history

Charl
05.02.2018
07:13:59
well
nice job

Daniel Andrei
05.02.2018
07:17:17
i will try it
you can find many examples on GitHub of people bootstrapping their Fedora systems with Ansible, there are many interesting playbooks in there ?

Charl
05.02.2018
07:18:05
can playbook do other things?

Daniel Andrei
05.02.2018
07:18:33
not only that, you can deploy your dotfiles (ie. .bashrc etc..)

Google

Charl
05.02.2018
07:19:28
good
thank u bro

Daniel Andrei
05.02.2018
07:19:47
welcome. As always you can find more details in their docs http://docs.ansible.com/ansible/latest/index.html

Michał
05.02.2018
07:20:49
I need to learn ansible sometime in the future, it looks interesting

Daniel Andrei
05.02.2018
07:21:23

Michał
05.02.2018
07:21:59

Charl
05.02.2018
07:22:02
seem's like kubernetes pod config file

Daniel Andrei
05.02.2018
07:22:19

Michał
05.02.2018
07:22:38
that's good, a documentation without examples is always offputting

Daniel Andrei
05.02.2018
07:22:39
pretty self-explanatory eh?

Michał
05.02.2018
07:24:10
looks... really nice. I'll have to set up a clean fedora in a docker and create an ansible playbook of what I always do on a clean install to make it mine :)
even though for my needs I guess a shell script would be fine too

Daniel Andrei
05.02.2018
07:24:46
I started with a shell script as well

Michał
05.02.2018
07:24:53
but where's a learning experience in that? I can already write a shell script, so it's not fun anymore

Daniel Andrei
05.02.2018
07:25:26
yeah, you'll hit a threshold sometime with the shell script
it'll become unmaintainable
here's my first shell script for provisioning everything lol
https://github.com/dminca/dotfiles/blob/master/init
It became bloated at some point, and decided to migrate to Ansible.

Michał
05.02.2018
07:27:06
I've heard that Ansible does not describe steps that have to be done, but a state that the system needs to be in, so if you'd add a new package to your playbook, all computers managed that way would only install what's missing. Is that true?

Google

247
05.02.2018
07:27:12

Daniel Andrei
05.02.2018
07:28:31

247
05.02.2018
07:28:37
By the way
Voted 2 times, 1 for my wifi connection and the other one for my phone connection :p

Daniel Andrei
05.02.2018
07:29:35
cheater :P
well if it was permitted, I wouldn't call that cheating
more like a backdoor lol
or maybe a honeypot ? (getting suspicious)

Corey
05.02.2018
08:19:05
Ok why is my mom freaking our age asl for laspass to be setup then I did but she now screaming at me....

Laure
05.02.2018
08:19:39
Okay I am running to some issue.
anyone know is there a scured way to store a key on NFC tag and read i?
I use a respberry pi with a NFC tag reader to replace my car security system.

Laure
05.02.2018
08:20:37
Now it is the time to write the key code into my car.

Sheogorath
05.02.2018
08:32:33
It's a basic setup. It's a bit bloated but works pretty well.
Keep in mind with vscode it provides some non-free software on your system

Daniel Andrei
05.02.2018
08:45:28
I'd suggest you install Ansible via pip instead of dnf, as that's always the latest ?

Sheogorath
05.02.2018
09:37:46

Google

Daniel Andrei
05.02.2018
10:21:59

Sheogorath
05.02.2018
10:47:15

Tobias?
05.02.2018
10:50:41
Never install things your package manager offers trough pip
Fedora is working on (afaik) explicit dnf-pip integration to stop people from doing exactly that because its a horrendous practice.
And for a single persons pc you might not want the complexity (and beauty) of ansible, as a single shellscript would entirely suffice.

Daniel Andrei
05.02.2018
10:54:33

Admin
ERROR: S client not available

Daniel Andrei
05.02.2018
10:56:34

Tobias?
05.02.2018
10:57:24

Daniel Andrei
05.02.2018
10:58:05
I'm just gonna say there's no silver bullet for this one, everyone's free to use whatever they wish ?

Tobias?
05.02.2018
10:58:09
And i am getting paid to write ansible scripts fairly often and i still think for single person quick reinstall usage a shell script is often the faster and better choice

Daniel Andrei
05.02.2018
10:58:30

Tobias?
05.02.2018
10:58:42
^

Daniel Andrei
05.02.2018
10:58:59
no github?
thanks, I'm checking

Tobias?
05.02.2018
10:59:32
And even if i added gsettings changes and more then i'd only add it in a seperate codeblock
no github?
Lol no, thats only on my private gitlab and on my nextcloud

Daniel Andrei
05.02.2018
11:00:11

Google

Tobias?
05.02.2018
11:00:42
This way i have two places where its version history is preserved
But yeah i should propably share a link so everybody can get the latest version simply (for gnome so far only)

Daniel Andrei
05.02.2018
11:02:29
but it's clean, that I could say

Tobias?
05.02.2018
11:02:56
But then you loose the readability of all the packages.

Daniel Andrei
05.02.2018
11:03:20

Tobias?
05.02.2018
11:03:26

Ahmetcan
05.02.2018
11:03:29

Tobias?
05.02.2018
11:03:38
And again, LOC !== .. THAT.

Daniel Andrei
05.02.2018
11:03:44
lol
mmkay
the scripting era is gone my friends
now the Infrastructure as Code era begun

Tobias?
05.02.2018
11:04:34
Just because it has alot of LOC doesnt mean its unreadable or unmaintainable. And newsflash:
if this was an ansible script guess what it'd have? twice the LOC because i still need to list all packages.

Daniel Andrei
05.02.2018
11:04:39
?

Tobias?
05.02.2018
11:04:59
Plus i'd need to teach people to first install ansible or add a start.sh to do so.
now the Infrastructure as Code era begun
Dont get me wrong, i love ansible.
But for the purpose of a beginner friendly simple script to just add a ton of nifty extras fedora comes without by default a .sh is more than enough.

Daniel Andrei
05.02.2018
11:06:30
okay :)

V0iD
05.02.2018
11:31:02
hey ppl, i have lxqt and Budgie, which google phrase i should search for make a qt app looks like gtk in gtk DE?)
hm, wright question is a half of answer
ty guys