[usermanagement] feat: allow drone to use git in roles/common
This commit is contained in:
parent
48338cd320
commit
6fe1080e0f
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{% if __user['username'] == 'drone' %}
|
||||
{% if inventory_hostname == 'ansible.siempie.internal' %}
|
||||
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 install -r /etc/ansible/ansible_requirements.yaml
|
||||
drone ansible.siempie.internal=(root) NOPASSWD:/usr/local/bin/ansible-playbook *
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue