Re:Using Ansible and Nomad for a homelab (part 1)
by goodpoint on Sunday February 27, 2022 @01:45PM
(#30491216)
On, even better, you use a bash script or a little bit of Python.
[ Parent
| on HN ]
Re:Using Ansible and Nomad for a homelab (part 1)
by qbasic_forever on Sunday February 27, 2022 @02:14PM
(#30491517)
Ansible is a lot of python that's already been written, battle tested, and made available to use. Once you get beyond one box or need to deploy and tweak something more than once, getting an ansible config setup is much easier in the long run.
Re:Using Ansible and Nomad for a homelab (part 1)
by goodpoint on Sunday February 27, 2022 @05:59PM
(#30493696)
> Ansible is a lot of python
One more reason to stay away from it. The codebase is very complex and the issues labeled "bug" count more than 18 thousands!
The language is a kludge of yaml and jinja with custom chunks of Python that is much less expressive than pure Python.
Go ahead and downvote at will.
Re:Using Ansible and Nomad for a homelab (part 1)
by snorrah on Sunday February 27, 2022 @09:49PM
(#30495757)
it’s an entirely usable system that can be used as shell script replacements to full virtual machine provisioning.
it does not matter if the language is a “kludge” if it suits the purpose. Ansible suits a lot of purposes and is worth exploring as a free technology.
Re:Using Ansible and Nomad for a homelab (part 1)
by tehbeard on Sunday February 27, 2022 @04:52PM
(#30492958)
...and dropbox is just an rsync script, Google docs is just vim/emacs (delete as appropriate) over ssh, and FF VII is just a doom clone /s
Ansible gives a framework that covers several of the gotchas your bash + python hack would run into.