[usermanagement] feat: allow drone to use rclone on revproxies
This commit is contained in:
parent
84365ad23c
commit
3fdd5d05b1
1 changed files with 9 additions and 0 deletions
|
|
@ -14,6 +14,15 @@ drone packer.siempie.internal=(root) NOPASSWD:/usr/local/bin/packer *
|
|||
{% if inventory_hostname == 'registry.siempie.internal' %}
|
||||
drone registry.siempie.internal=(root) NOPASSWD:/usr/bin/docker *
|
||||
{% endif %}
|
||||
{% if inventory_hostname == 'rp01.siempie.internal' %}
|
||||
drone rp01.siempie.internal=(simon) NOPASSWD:/usr/bin/rclone *
|
||||
{% endif %}
|
||||
{% if inventory_hostname == 'rp02.siempie.internal' %}
|
||||
drone rp02.siempie.internal=(simon) NOPASSWD:/usr/bin/rclone *
|
||||
{% endif %}
|
||||
{% if inventory_hostname == 'wireguard.do.simoncor.net' %}
|
||||
drone wireguard.do.simoncor.net=(simon) NOPASSWD:/usr/bin/rclone *
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if sudo_pwless == False %}
|
||||
{{ __user['username'] }} ALL=(ALL) ALL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue