rics3n / drone-ansible Goto Github PK
View Code? Open in Web Editor NEWDrone plugin for deploying with ansible
License: Apache License 2.0
Drone plugin for deploying with ansible
License: Apache License 2.0
Currently the readme says "ssh-key - define the ssh-key to use for connecting to hosts" however the example shows using the secrets param to pass the ssh_key. Can you update the readme to reflect this?
Hello!
In the secrets I added ssh_key
Here is my code:
deploy-staging:
image: rics3n/drone-ansible:2
secrets: [ ssh_key ]
playbook: ansible/playbook.yml
inventory_path: ansible/inventory
inventory: hosts
In the secrets I added ssh_key
Tell me why ssh_key does not work
Thanks for making the plugin, it works great! I was just wondering if there's any plan to push this into official Drone plugins library at some stage?
I'm using different username on my local machine and drone for ssh connection.
Currently I put username to ansible.cfg
, but I'd think it'd be more convenient to have this configuration in .drone.yml
.
Is there any way to reference and use an external ansible repo, which contains a variety of roles, playbooks, etc and obviously one or more inventory files?
Put the other way, must you maintain an inventory and playbook file in the project that you want to use drone-ansible from?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.