Verify / Possibly Fix --populate-platforms

This task needs to be done after #27 (closed) is complete. This command populates the supported platforms for a role in the meta/main.yml file which is used by Ansible Galaxy. It is run like this:

ansibler --populate-platforms --json-file .cache/compatibility-chart.json

After the referenced task is complete, ensure that this command properly populates meta/main.yml using the data from .cache/compatibility-chart.json. The data in meta/main.yml should be merged (not overwritten) because some platforms might be manually specified as compatible.

There is not a direct matching between the OS Names / OS Versions and the platforms/versions meta/main.yml is expecting. So it might be wise to introduce a new file that you can specify with --platform-map that maps OS Names and OS Versions with the value's that Ansible Galaxy is supporting. For example, in the above linked to issue, you can see an OS Family of Debian and an OS Version of 10 (Buster) is shown in the chart. In the --platform-map file you might have to store something that maps those values to what Ansible Galaxy is expecting which would be platform name Debian and version buster. For a full list of possible values, see this link: https://github.com/ansible/galaxy/issues/52

Edited by Brian Zalewski