4 ms·
The two things that makes me prefer ansible over chef/puppet/cfengine are: 1) being push based 2) working via shell over ssh. There is a definite vantage, wi
by gosub 13y ago
The two things that makes me prefer ansible over chef/puppet/cfengine are:
1) being push based
2) working via shell over ssh.
There is a definite vantage, with a small install base, in not having to setup a server on either side and being able to control the process from the "admin" machine.
What would make ansible perfect for me would be ditching yaml and use python directly. It would be easier to extend and control programmatically, without the awkward variables and looping constructs it uses in yaml.
- bryogenic 13y agoIf you really want to do that way you can, they explicitly call out that kind of functionality on their APIs and Integration's page. http://www.ansibleworks.com/docs/api.html http://www.ansibleworks.com/docs/api.html > Advanced programmers may also wish to read the source to ansible itself, for it uses the Runner() API (with all available options) to implement the command line tools ansible and ansible-playbook.
- adient 13y agoYou can use any CF tool over ssh, this is not unique to ansible. In doing so, you can also "push" to any CF tool. You can also push by using more integrated tools, such as mcollective with puppet.
- pessimizer 13y agoYou don't push to ansible, you push from ansible to a server that has never heard of ansible.
- njharman 13y agoGiven enough effort, you can do any 'X' with any 'Y'. The point is the design, future design, etc. all support that way and make it easy and robust out of the box.