Re: [ansible-project] I am curious about ~/.ansible vs ~/ansible - why was that done?

2022-08-23 Thread Vladimir Botka
On Tue, 23 Aug 2022 03:56:29 -0400
Nico Kadel-Garcia  wrote:

> On Tue, Aug 23, 2022 at 12:23 AM Jeff Silverman  wrote:
> >
> > ... Why .ansible, which is hidden, and not ansible, which is not
> > hidden? ... why did the ansible designers elect to use a hidden
> > directory? They were/are very smart people, so they must have had
> > a good reason, what was it?

The main reason is that this directory keeps configuration files. The
justification for having hidden files is that if you don't see them,
you are less likely to damage them.

But, generally, you're right. The concept of a hidden file was an
unintended consequence. It was certainly a mistake.
https://linux-audit.com/linux-history-how-dot-files-became-hidden-files/

-- 
Vladimir Botka

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20220823112231.42981750%40gmail.com.


pgpnYHlJ7BkOQ.pgp
Description: OpenPGP digital signature


Re: [ansible-project] I am curious about ~/.ansible vs ~/ansible - why was that done?

2022-08-23 Thread Nico Kadel-Garcia
On Tue, Aug 23, 2022 at 12:23 AM Jeff Silverman  wrote:
>
> In Storing and finding roles and elsewhere, it says that one of the places 
> ansible looks for .yml files is ~/.ansible/roles . Why .ansible, which is 
> hidden, and not ansible, which is not hidden? Of course, I can change it 
> easily by changing the ansible.cfg file or setting a value in the envar 
> DEFAULT_MODULE_PATH. That's not my question. My curiosity is piqued: why did 
> the ansible designers elect to use a hidden directory? They were/are very 
> smart people, so they must have had a good reason, what was it?

It's quite commonplace to do. .bashrc,.ssh, .local, .bin, and many
other local directories are in these kind of subdirectories that can
be written or administered by the user but are typically used for
individual configuration information and are relatively stable.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAOCN9rxvZVxL9qg2gfh8xt8nOh-JL72-npKC0KKAfgBBGsprzQ%40mail.gmail.com.


[ansible-project] I am curious about ~/.ansible vs ~/ansible - why was that done?

2022-08-22 Thread Jeff Silverman
In Storing and finding roles 

 and 
elsewhere, it says that one of the places ansible looks for .yml files is 
~/.ansible/roles . Why .ansible, which is hidden, and not ansible, which is 
not hidden? Of course, I can change it easily by changing 
the ansible.cfg file or setting a value in the envar DEFAULT_MODULE_PATH 
.
 
That's not my question. My curiosity is piqued: why did the ansible 
designers elect to use a hidden directory? They were/are very smart people, 
so they must have had a good reason, what was it?

Thank you

Jeff Silverman

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e2288ed9-c348-4a4a-a1b8-cfd58cc22feen%40googlegroups.com.