drone-plugins / drone-ansible

Drone plugin to provision via Ansible
http://plugins.drone.io/drone-plugins/drone-ansible
Apache License 2.0
31 stars 44 forks source link

Feature: Way to modify ansible.cfg #57

Open ykorzikowski opened 1 year ago

ykorzikowski commented 1 year ago

AFAIK its hardcoded in https://github.com/drone-plugins/drone-ansible/blob/99b3e01f9b0beefed1ebedbf3b9bd63ca46154a6/plugin.go#L17

My plan was to add some improvements to speed up my ansible: https://www.redhat.com/sysadmin/faster-ansible-playbook-execution

Best idea would be specifying an ansible.cfg path in drone.yml and use the file checked in the git repo. What do you think?

ykorzikowski commented 1 year ago

Added my idea here (not tested, yet)

https://github.com/ykorzikowski/drone-ansible/commit/2735eedd3c331c8539be4eddd3d2abe83f12ba05