Fine tune sanity (#53544)

* modify regex to use implicit charsets this should solve issues in py3 and unicode names
* fix issue with subgroups in yaml inventory
* clarify deprecation message
* separated per name warning from deprecation
* move noise to verbosity, simplify warnings
* fix docs to reflect actual 'good' practice
* change toggle to choice list to give users more options
This commit is contained in:
Brian Coca 2019-03-11 15:12:14 -04:00 committed by GitHub
commit 9b67219096
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 40 additions and 22 deletions

View file

@ -140,40 +140,40 @@ It is suggested that you define groups based on purpose of the host (roles) and
# file: production
[atlanta-webservers]
[atlanta_webservers]
www-atl-1.example.com
www-atl-2.example.com
[boston-webservers]
[boston_webservers]
www-bos-1.example.com
www-bos-2.example.com
[atlanta-dbservers]
[atlanta_dbservers]
db-atl-1.example.com
db-atl-2.example.com
[boston-dbservers]
[boston_dbservers]
db-bos-1.example.com
# webservers in all geos
[webservers:children]
atlanta-webservers
boston-webservers
atlanta_webservers
boston_webservers
# dbservers in all geos
[dbservers:children]
atlanta-dbservers
boston-dbservers
atlanta_dbservers
boston_dbservers
# everything in the atlanta geo
[atlanta:children]
atlanta-webservers
atlanta-dbservers
atlanta_webservers
atlanta_dbservers
# everything in the boston geo
[boston:children]
boston-webservers
boston-dbservers
boston_webservers
boston_dbservers
.. _groups_and_hosts: