Closed pgehres closed 9 months ago
Looks like this was a change in ansible-core 2.16 which results in an error like
fatal: [10.63.4.102 -> {{ mysql_replication_master }}]: FAILED! => {"msg": "Supplied entity must be Host or Group, got <class 'ansible.inventory.host.Host'> instead"}
Adding the suggested fix per https://github.com/ansible/ansible/issues/82264
This has been fixed in https://github.com/geerlingguy/ansible-role-mysql/pull/532 - thanks!
Looks like this was a change in ansible-core 2.16 which results in an error like
fatal: [10.63.4.102 -> {{ mysql_replication_master }}]: FAILED! => {"msg": "Supplied entity must be Host or Group, got <class 'ansible.inventory.host.Host'> instead"}
Adding the suggested fix per https://github.com/ansible/ansible/issues/82264