]> arthur.barton.de Git - ansible-collection-boilerplate.git/commitdiff
ansible.cfg: "collections_paths" is deprecated, use singular
authorAlexander Barton <alex@barton.de>
Fri, 8 Dec 2023 21:44:47 +0000 (22:44 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 8 Dec 2023 21:45:04 +0000 (22:45 +0100)
This fixes the following warning of ansible-lint:

  DEPRECATION WARNING]: [defaults]collections_paths option, does not fit
  var naming standard, use the singular form collections_path instead.
  This feature will be removed from ansible-core in version 2.19.

ansible.cfg

index c74aababa6be22e2ca838eb351b110d96e54ccb8..bad09eecab9081e664d5c3414d172184d18e9162 100644 (file)
@@ -4,7 +4,7 @@
 [defaults]
 ansible_managed = Managed by Ansible, DO NOT MODIFY, changes will be overwritten!
 check_mode_markers = yes
-collections_paths = ansible_galaxy
+collections_path = ansible_galaxy
 display_failed_stderr = yes
 fact_caching = jsonfile
 fact_caching_connection = .cache