grafana-ansible-collection
                                
                                
                                
                                    grafana-ansible-collection copied to clipboard
                            
                            
                            
                        Topic/refactor grafana agent
Complete rewrite of grafana_agent role. Fix #148
I have already molecule scenarios, but didn't pushed them because the setup is with systemd in docker and kind of unstable. aka can crash your host system^^
Using docker/podman images with systemd in molecule is quite common actually so that shouldn't be an issue. But actually you don't even need to define your own platform as they are already defined for the collection here: https://github.com/grafana/grafana-ansible-collection/blob/main/.config/molecule/config.yml
@gardar yeah I realized that after I implemented my own. I will try to use the one already in place.
@gardar I just tried the already includes molecule. Somehow it always get's stuck at the Gathering Facts for over 10 mins. Did you also ever had those problems? Or maybe any idea what that could be.
Edit: Maybe a bit more context is useful I use docker on Arch and molecule with sudo.
There are different reasons I've seen that happen, do you have the molecule docker driver installed? and are the containers running?
@ohdearaugustin can you please rebase?
Should be rebased now. Didn't yet implement the manual install, just didn't had time unfortunately.