Re: [gentoo-dev] dev-python/fabric up for grabs

2019-05-11 Thread Piotr Karbowski
On 11/05/2019 18.00, Virgil Dupras wrote:
> Although I don't use it anymore because I find it too heavy for my
> needs, Ansible is generally seen as a good replacement.

FWIW Ansible does not seems that heavy when you realize that you can put
a exec bit on a playbook, set shebang to ansible-playbook, set it to
being a locally executed and define tasks within playbook itself, like:

#!/usr/bin/env -S ansible-playbook -i localhost,

- name: playbook
  gather_facts: false
  connection: local
  hosts: localhost
  tasks:
- name: foo
  debug:
msg: 'blah'

Gets the job done really well.

-- Piotr.



Re: [gentoo-dev] dev-python/fabric up for grabs

2019-05-11 Thread Virgil Dupras
On Sat, 11 May 2019 09:52:11 +0200
Dennis Schridde  wrote:

> Hi Virgil!
> 
> On Freitag, 10. Mai 2019 20:21:49 CEST Virgil Dupras wrote:
> > As soon as the needs go over a bash script, there are much better tools out
> > there for the job.
> 
> Which tools do you recommend?
> 
> --Dennis

Although I don't use it anymore because I find it too heavy for my
needs, Ansible is generally seen as a good replacement.

Virgil


pgpcUWdSIjhCc.pgp
Description: PGP signature


[gentoo-dev] dev-python/fabric up for grabs

2019-05-10 Thread Virgil Dupras
I'd like to last rite it but I thought I'd ask around and see if anyone
use this. This package was popular in its first incarnation (py2 only)
and I personally used it, but the v2 rewrite is really bad, doesn't
have a good migration path for v1 scripts, and there's no point in using
this over a simple bash script for new projects. As soon as the needs go
over a bash script, there are much better tools out there for the job.

With py2 going dark, if nobody uses its v2, there's no point in keeping
it around.

Unless someone is interested...


pgp7_r_xn_tf9.pgp
Description: PGP signature