3 ms·
Agree. Although I personally prefer Ansible to the alternatives, the one thing I don't like is that it does require python to be installed on the target hosts f
by _frkl 7y ago
Agree. Although I personally prefer Ansible to the alternatives, the one thing I don't like is that it does require python to be installed on the target hosts for most modules. That's not a problem usually, but every now and then it is. Also, sometimes additional python package requirements are needed, managing those in an automated manner is usually a hassle....
I've had this idea for a config management system that compiles all provisioning code to posit shell. One of those years I'll finish it... :-)
- mdaniel 7y ago> it does require python to be installed on the target hosts for most modules I recently learned that ansible supports binary modules, in addition to the OOtB support for modules written in any already-configured scripting language (including shell): https://docs.ansible.com/ansible/2.9/dev_guide/developing_program_flow_modules.html#binary-modules https://docs.ansible.com/ansible/2.9/dev_guide/developing_pr... However, while I know you meant "all the provided modules," it seems they are headed toward a less "batteries included" style and more (pypi|maven|npm|rubygems) style of "the community will sort it out" mechanism of distribution: https://docs.ansible.com/ansible/2.9/user_guide/collections_using.html#using-collections https://docs.ansible.com/ansible/2.9/user_guide/collections_... Which I welcome wholeheartedly because landing even the simplest fixes to ansible modules is currently a very laborious and time intensive operation
- 1337shadow 7y agoTried using gather_facts=false and raw module to setup python ? Example : https://yourlabs.io/oss/bigsudo/blob/master/bigsudo/bootstrap.yml https://yourlabs.io/oss/bigsudo/blob/master/bigsudo/bootstra... Bigsudo ansible wrapper always plays that no matter what and as a result ansible never fails because of missing python.