Changed order of preferred paths for Ansible
This commit is contained in:
10
ansible.cfg
10
ansible.cfg
@@ -16,7 +16,7 @@
|
||||
;force_color=False
|
||||
|
||||
# (path) The default root path for Ansible config files on the controller.
|
||||
home=.ansible
|
||||
home=.
|
||||
|
||||
# (boolean) This setting allows suppressing colorizing output, which is used to give a better indication of failure and status information.
|
||||
;nocolor=False
|
||||
@@ -38,7 +38,7 @@ become_plugins=plugins/become:.ansible/plugins/become:/usr/share/ansible/plugins
|
||||
fact_caching=jsonfile
|
||||
|
||||
# (string) Defines connection or path information for the cache plugin
|
||||
fact_caching_connection=.ansible/facts
|
||||
fact_caching_connection=.facts
|
||||
|
||||
# (string) Prefix to use for cache plugin files/tables
|
||||
;fact_caching_prefix=ansible_facts
|
||||
@@ -54,7 +54,7 @@ fact_caching_connection=.ansible/facts
|
||||
|
||||
# (pathspec) Colon separated paths in which Ansible will search for collections content. Collections must be in nested *subdirectories*, not directly in these directories. For example, if ``COLLECTIONS_PATHS`` includes ``'{{ ANSIBLE_HOME ~ "/collections" }}'``, and you want to add ``my.collection`` to that directory, it must be saved as ``'{{ ANSIBLE_HOME} ~ "/collections/ansible_collections/my/collection" }}'``.
|
||||
|
||||
collections_path=.ansible/collections:collections:/usr/share/collections:/etc/ansible/collections
|
||||
collections_path=collections:.ansible/collections:/usr/share/collections:/etc/ansible/collections
|
||||
|
||||
# (boolean) A boolean to enable or disable scanning the sys.path for installed collections
|
||||
;collections_scan_sys_path=True
|
||||
@@ -169,7 +169,7 @@ local_tmp=.tmp
|
||||
;log_filter=
|
||||
|
||||
# (path) File to which Ansible will log on the controller. When empty logging is disabled.
|
||||
log_path=.ansible/log.txt
|
||||
log_path=log.txt
|
||||
|
||||
# (pathspec) Colon separated paths in which Ansible will search for Lookup Plugins.
|
||||
lookup_plugins=plugins/lookup:.ansible/lookup:/usr/share/ansible/plugins/lookup
|
||||
@@ -223,7 +223,7 @@ netconf_plugins=plugins/netconf:.ansible/netconf:/usr/share/ansible/plugins/netc
|
||||
;remote_user=
|
||||
|
||||
# (pathspec) Colon separated paths in which Ansible will search for Roles.
|
||||
roles_path=.ansible/roles:roles:/usr/share/ansible/roles:/etc/ansible/roles
|
||||
roles_path=roles:.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
|
||||
|
||||
# (string) Set the main callback used to display Ansible output. You can only have one at a time.
|
||||
# You can have many other callbacks, but just one can be in charge of stdout.
|
||||
|
||||
Reference in New Issue
Block a user