mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
Add an RPM spec file and customize ansible roles_path
Install roles under /usr/local/share/kubespray/roles, playbooks - /usr/local/share/kubespray/playbooks/, ansible.cfg and inventory group vars - into /etc/kubespray. Ship README and an example inventory as the package docs. Update the ansible.cfg to consume the roles from the given path, including virtualenvs prefix, if defined. Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
This commit is contained in:
@@ -10,3 +10,4 @@ fact_caching_connection = /tmp
|
||||
stdout_callback = skippy
|
||||
library = ./library
|
||||
callback_whitelist = profile_tasks
|
||||
roles_path = roles:$VIRTUAL_ENV/usr/local/share/kubespray/roles:$VIRTUAL_ENV/usr/local/share/ansible/roles
|
||||
|
||||
Reference in New Issue
Block a user