Re:A Python library for writing distributed self-replicating...
by dmw_ng on Wednesday November 20, 2019 @10:39AM
(#21584813)
I mean sure, just copying Ansible to the target machine and running it locally 'fixes' things, but at what point should it still be considered Ansible? You lose so much with -local, at least:
- centralized vault, target nodes need access to secrets
- "serial:" no longer available, you can't do rolling upgrades any more
- "hostvars" no longer available, you can't query facts from other machines
- no centralized trigger mechanism, status or failure reporting
etc.
Put another way, you could claim ansible-local fixes things for the same reason you could claim bash is network-aware agentless automation because you can copy shell scripts between machines
- centralized vault, target nodes need access to secrets
- "serial:" no longer available, you can't do rolling upgrades any more
- "hostvars" no longer available, you can't query facts from other machines
- no centralized trigger mechanism, status or failure reporting
etc.
Put another way, you could claim ansible-local fixes things for the same reason you could claim bash is network-aware agentless automation because you can copy shell scripts between machines