Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Connection Doesn't Work #34

Open
kclinden opened this issue Jun 18, 2020 · 7 comments
Open

Docker Connection Doesn't Work #34

kclinden opened this issue Jun 18, 2020 · 7 comments

Comments

@kclinden
Copy link

Unable to use a docker connection for the Ansible Plugin.
https://discourse.drone.io/t/ansible-plugin-docker-connection-to-service-container/7528

@tboerger
Copy link
Contributor

I never use any docker connection type, I don't know what needs to be installed for that.

@kclinden
Copy link
Author

kclinden commented Jun 19, 2020 via email

@tboerger
Copy link
Contributor

I'm not sure if that could properly work at all

@kclinden
Copy link
Author

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?

@tboerger
Copy link
Contributor

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.

@kclinden
Copy link
Author

How about using kitchen to provision a system and invoke ansible? Have you worked with drone and kitchen?

@tboerger
Copy link
Contributor

No kitchen, just Molecule similar to https://github.com/rolehippie/sudo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants