Looks like currently variables: 'google_agent_pkg_state' and 'google_agent_repository_state' are only effecting Debian based distributions. It is not very clear what is the purpose of them. I can see two possible uses:
- Cleanup repository after removal of chrome or/and talkplugin; OR
- Disable automatic updates of Chrome. (I suspect this was the main intent.)
There are two issues with current setup:
- Google Talk Plugin repository will be added even if 'google_talkplugin_enabled' is set to 'no'.
- The role will behave completely differently on CentOS/RedHat.
I have some ideas how to fix it, but first I need to better understand the current use in order to provide consistent behavior.