From 113eadad722ce6e8e07ac87a7799ed9714c4b7e1 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 24 Sep 2020 03:51:56 +0200 Subject: [PATCH] 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 (cherry picked from commit 6938ed13021201cc1cfcd3f3087849fed3157a69) --- ansible.cfg | 1 + infrastructure-playbooks/ansible.cfg | 1 + 2 files changed, 2 insertions(+) diff --git a/ansible.cfg b/ansible.cfg index b135b48fb..c579a576b 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -20,6 +20,7 @@ fact_caching_timeout = 7200 nocows = 1 callback_whitelist = profile_tasks stdout_callback = yaml +force_valid_group_names = ignore # Disable them in the context of https://review.openstack.org/#/c/469644 retry_files_enabled = False diff --git a/infrastructure-playbooks/ansible.cfg b/infrastructure-playbooks/ansible.cfg index 8d42b01c0..20373dc95 100644 --- a/infrastructure-playbooks/ansible.cfg +++ b/infrastructure-playbooks/ansible.cfg @@ -3,3 +3,4 @@ ansible_managed = Please do not change this file directly since it is managed by action_plugins = ../plugins/actions callback_plugins = ../plugins/callback roles_path = ../roles +force_valid_group_names = ignore \ No newline at end of file