y503unavailable / redmine-centos-ansible

RedmineをCentOSに自動インストールするためのAnsibleプレイブック mariadb利用、 Redmine UnofficialCooking版
https://redmine.tokyo/projects/unofficialcooking
MIT License
3 stars 1 forks source link

Ansible 2.8 warning([DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings) #35

Closed y503unavailable closed 5 years ago

y503unavailable commented 5 years ago

When this script is run on Ansible 2.8, the following warning occurs. It needs to be fixed before 2.10 is released.

[DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to allow bad characters in group names by default, this will change, but still be user configurable on deprecation. This feature will be removed in version 2.10. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

[WARNING]: Invalid characters were found in group names but not replaced, use-vvvv to see details

y503unavailable commented 5 years ago

ansible-playbook -i hosts site.yml -vvvv

Not replacing invalid character(s) "set([u'-'])" in group name (redmine-servers) Set default localhost to localhost Not replacing invalid character(s) "set([u'-'])" in group name (fess-servers) Not replacing invalid character(s) "set([u'-'])" in group name (fess-servers) Parsed /tmp/redmine-centos-ansible/hosts inventory source with ini plugin

rename redmine-servers to redmine_servers , fess-servers to fess_servers