diff --git a/ansible.cfg b/ansible.cfg
index bed2c4ae776592e2ae3b6ffda718468ac49f10fd..62d3b5c700153bb1b2b34d77437b3f6f9c705b03 100644
--- a/ansible.cfg
+++ b/ansible.cfg
@@ -4,6 +4,8 @@ ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100
 #control_path = ~/.ssh/ansible-%%r@%%h:%%p
 [defaults]
 strategy_plugins = plugins/mitogen/ansible_mitogen/plugins/strategy
+# https://github.com/ansible/ansible/issues/56930 (to ignore group names with - and .)
+force_valid_group_names = ignore
 
 host_key_checking=False
 gathering = smart