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.