feat: allow drone to use sh with env
This commit is contained in:
parent
b28cbbd752
commit
7ad749eece
1 changed files with 1 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ drone ansible.siempie.internal=(root) NOPASSWD:/usr/bin/git -C /etc/ansible *
|
|||
drone ansible.siempie.internal=(root) NOPASSWD:/usr/bin/git -C /etc/ansible/roles/common *
|
||||
drone ansible.siempie.internal=(root) NOPASSWD:/usr/local/bin/ansible-galaxy *
|
||||
drone ansible.siempie.internal=(root) NOPASSWD:/usr/local/bin/ansible-playbook *
|
||||
drone ansible.siempie.internal=(root) NOPASSWD:SETENV:/usr/bin/sh *
|
||||
{% endif %}
|
||||
{% if inventory_hostname == 'mgmt01.infra.vpn.mirahsimon.us' %}
|
||||
drone mgmt01.siempie.internal=(simon) NOPASSWD:/usr/local/bin/kubectl *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue