Re:Easily handle CLI operation via Python instead of regular...
by c0npr on Saturday February 12, 2022 @09:38PM
(#30318589)
agreed, but if I am learning a new syntax anyways I will go for ansible.
[ Parent
| on HN ]
Re:Easily handle CLI operation via Python instead of regular...
by ginko on Sunday February 13, 2022 @05:06AM
(#30320664)
Care to explain? Xonsh is a python shell. From a cursory look at the very corporate Ansible website and wikipedia it's
"an open-source software provisioning, configuration management, and application-deployment tool enabling infrastructure as code"
Whatever that means. They seem to do very different things as far as I can tell.
Re:Easily handle CLI operation via Python instead of regular...
by joseph8th on Sunday February 13, 2022 @11:50AM
(#30323110)
No new syntax, unless you want to write scripts in xonsh, or mix bash and Python in the same command. There's rarely any reason to. 99/100 times I just write pure bash or pure python