News for hackers. Stuff that matters.
Re:Ansible Alternatives in Python by thr0w3345 on Saturday June 13, 2020 @07:35AM (#23508716)
The problem we have with ansible is not yaml related but the push based approach, even with awx/tower as soon as you’re running hundreds of machines of a given group it gets painful.

We are actually seriously considering a shift to salt atm...

Re:Ansible Alternatives in Python by jdboyd on Saturday June 13, 2020 @08:11AM (#23508849)
The push versus pull difference between ansible versus salt is a worthwhile design choice. In my opinion, salt does start to make sense until about when you would outgrow ansible. That said having to replace all the playbooks and. Roles written in ansible.when you outgrow it is a bummer. I don't want ansible to move away from push, but it would be nice if there was a layer to let it work both ways.
Re:Ansible Alternatives in Python by oddly on Saturday June 13, 2020 @09:21AM (#23509178)
Re:Ansible Alternatives in Python by em-bee on Saturday June 13, 2020 @12:14PM (#23510457)
likewise salt also has a way to push via salt-ssh which works just like ansible without a salt-minion.

so at this point both ansible and salt can go both directions, and i do infact myself make use of that. i use pull/minions on all servers in our network, and push to those servers outside our network, because they can't reach the master behind the firewall.

although zerotier has helped solve that problem, so i'll probably be able to stop using salt-ssh soon

Re:Ansible Alternatives in Python by aplanas on Saturday June 13, 2020 @08:26AM (#23508911)
There is this too:

https://docs.saltstack.com/en/latest/ref/modules/all/salt.mo...

You can reuse all the playbooks and start scaling with salt.

Re:Ansible Alternatives in Python by em-bee on Saturday June 13, 2020 @12:10PM (#23510421)
salt does start to make sense until about when you would outgrow ansible.

i read that as: by the time ylu outgrow ansible, salt doesn't make sense either. but the next sentence seems to suggests to switch to salt when you outgrow ansible.

i always assumed that ansible and salt solve the same problems and when you outgrow one, you'd outgrow the other too.

Re:Ansible Alternatives in Python by kaliszad on Sunday June 14, 2020 @04:36PM (#23521104)
There was some talk about Salt not being very active as a community, I guess, that changed during the last 1-2 years? Ansible can be a lot faster/ efficient with Mitogen https://mitogen.networkgenomics.com/

E.g. seznam.cz (a Czech search engine) migrated from Salt to Ansible, they seem to cope ok. (There is a PDF from the LinuxDays talk last year.) Google Docs can translate PDFs even from Czech into English: https://pretalx.linuxdays.cz/media/Ansible.pdf

Re:Ansible Alternatives in Python by jamesog on Saturday June 13, 2020 @01:30PM (#23511052)
Salt states can very quickly/easily become unweildy as, unlike Ansibble, you can throw Jinja2 everywhere. It becomes far more tempting to create multiple states with a Jinja2 loop, or worse, macros, and before you know it you have a huge mess of what I like to call "spaghetti Jinja".

Templated YAML really isn't pretty to work with.

Re:Ansible Alternatives in Python by aleph- on Saturday June 13, 2020 @07:39AM (#23508732)
I can definitely recommend Salt. Has its bugs/warts like any other config management system. But it works fairly well/is extensible for the most part.
Re:Ansible Alternatives in Python by mattbillenstein on Saturday June 13, 2020 @01:23PM (#23511001)
I like salt - doing 30s deploys on prod for python changes was great -- the big slowdown with pushing the entire site was frontend webpack builds...
Re:Ansible Alternatives in Python by bamboozled on Saturday June 13, 2020 @10:36AM (#23509651)
I actually like this about it though? There are advantages and disadvantages to both approaches.
Re:Ansible Alternatives in Python by erinnh on Saturday June 13, 2020 @08:03AM (#23508821)
Have you looked into ansible pull mode?