You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ex if hostname is set to "Réservé"
Inventory module will fail with: [WARNING]: * Failed to parse /export/home/netansible/micetro_test/inventory/mm_inventory.yml with mm_inventory plugin: 'utf-8' codec can't decode byte 0xe9 in position 15889: invalid continuation byte
Issue can be resolved by using ISO-8859-1 decoding here:
As far as I know accents are not allowed in hostnames. RFC-952 states that the only allowed characters are A-Z, 0-9, - and . and that the name should start with a letter. RFC-1123 relaxes that a bit by allowing a hostname to start with a letter or a digit (2.1).
Ex if hostname is set to "Réservé"
Inventory module will fail with: [WARNING]: * Failed to parse /export/home/netansible/micetro_test/inventory/mm_inventory.yml with mm_inventory plugin: 'utf-8' codec can't decode byte 0xe9 in position 15889: invalid continuation byte
Issue can be resolved by using ISO-8859-1 decoding here:
ansible-module/ansible/plugins/inventory/mm_inventory.py
Line 218 in 519b0f8
ex. response = response.decode('ISO-8859-1')
The text was updated successfully, but these errors were encountered: