Rather than type “ansible” every time I want to do something I have created alias an=‘/usr/bin/ansible’ in .bashrc
I was wondering if something like this has been considered as a feature in ansible?
Rather than type “ansible” every time I want to do something I have created alias an=‘/usr/bin/ansible’ in .bashrc
I was wondering if something like this has been considered as a feature in ansible?
I don't have any authority here but I'd say no to this.
You can make your own bash alias at any time and polluting the 2-letter namespace just seems like bad behavior.
on my relatively well-stocked fedora 18 system ansible* are the only binaries within ans<tab><tab> output.
So you're saving not a lot of chars by making it 'an'
my 2c - they are not necessarily of any value
-sv
I use some aliases 'ans' and 'anspb' for example.
Since this is easy to do in any shell or just by symlinking the
binaries, no reason to add this as a feature.
Rather than type "ansible" every time I want to do something I have created
*alias an='/usr/bin/ansible' *in .bashrc
I save 50% in typing: mine's called `a'.
I was wondering if something like this has been considered as a feature in
ansible?
How is that supposed to be a feature? It's a shell alias. I also alias
l='ls -l' but wouldn't dream of asking whoever maintains the GNU package
to add that as a feature... No offence meant: it seems pointless to me,
that's all.
-JP
Everyone needs to set up their own bash aliases.
Ansible will not be adding additional command wrappers.
It would be a “feature” because the documentation would reflect it. Yes it’s easy enough to add your own bash for your own alias. Death by a thousand paper cuts.
As nicely as I can say it, a small degree of Linux experience will be
assumed with Ansible, to where we assume readers will know how to do
this.
It keeps our docs from tiring out others by having too much basic
material, though we do explain all the basic parts of ansible itself,
as best we can, we also do not fully document
the concept of a file permission, what an RPM is, etc.
There are thousands of things that are simple for me to do. Problems is I have to do those thousand things and adding this it’s 1001. Again, death by 1001 papercuts.
I can easily set up my servers manually. Why go to all the trouble of using software like Ansible to do that?! You don’t need that…assuming you have a small degree of Linux experience.