feat: allow drone to use ansible-galaxy install
This commit is contained in:
parent
93e8b6b65b
commit
d19a981923
1 changed files with 2 additions and 1 deletions
|
|
@ -2,7 +2,8 @@
|
|||
{% 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-galaxy
|
||||
install -r *
|
||||
drone ansible.siempie.internal=(root) NOPASSWD:/usr/local/bin/ansible-playbook *
|
||||
{% endif %}
|
||||
{% if inventory_hostname == 'mgmt01.infra.vpn.mirahsimon.us' %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue