ansible.cfg: set force_valid_group_names param

As of 2.10, group names containing a dash are invalid.
However, setting this option makes it still possible to use a dash in
group names and prevent this warning to show up.
It might need to be definitely addressed in a future ansible release.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1880476

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 6938ed1302)
pull/5843/head
Guillaume Abrioux 2020-09-24 03:51:56 +02:00 committed by Dimitri Savineau
parent 354abf903a
commit 113eadad72
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ fact_caching_timeout = 7200
nocows = 1 nocows = 1
callback_whitelist = profile_tasks callback_whitelist = profile_tasks
stdout_callback = yaml stdout_callback = yaml
force_valid_group_names = ignore
# Disable them in the context of https://review.openstack.org/#/c/469644 # Disable them in the context of https://review.openstack.org/#/c/469644
retry_files_enabled = False retry_files_enabled = False

View File

@ -3,3 +3,4 @@ ansible_managed = Please do not change this file directly since it is managed by
action_plugins = ../plugins/actions action_plugins = ../plugins/actions
callback_plugins = ../plugins/callback callback_plugins = ../plugins/callback
roles_path = ../roles roles_path = ../roles
force_valid_group_names = ignore