drone-ansible
drone-ansible copied to clipboard
Docker Connection Doesn't Work
Unable to use a docker connection for the Ansible Plugin. https://discourse.drone.io/t/ansible-plugin-docker-connection-to-service-container/7528
I never use any docker connection type, I don't know what needs to be installed for that.
docker-cli is what would be needed I think. I have it clone and am trying to get it work. I would also need a volume for "/var/run/docker.sock" I believe.
On Fri, Jun 19, 2020 at 9:08 AM Thomas Boerger [email protected] wrote:
I never use any docker connection type, I don't know what needs to be installed for that.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/drone-plugins/drone-ansible/issues/34#issuecomment-646656564, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABY5MPFMVJX4RK5D3GHOQSLRXNWOVANCNFSM4OCDYVRA .
-- v/r Kasey Linden [email protected]
I'm not sure if that could properly work at all
I am trying to have a pipeline that runs/tests my ansible playbook by running it against a system. Right now I was thinking that system could be a docker container that is provisioned as a service. Do you have a better idea on how I could do this?
So far I have done all testing with molecule, mostly to cloud providers supported by it via drone.
Another option could be a special runner, but that would be a bigger effort.
I never tried to do the testing with the ansible plugin itself.
How about using kitchen to provision a system and invoke ansible? Have you worked with drone and kitchen?
No kitchen, just Molecule similar to https://github.com/rolehippie/sudo