kolla/docker/kolla-toolbox/ansible_sudoers
Xinliang Liu b0ef604a68 Add ansible sudo running for Debian family
On Debian and Ubuntu pip install ansible to /usr/local/bin/ansible, whereas
on CentOS the location is /usr/bin/ansible.

Add ansible sudo running entry for Debian family.

Partial-Bug: #1729216
Change-Id: I2b57403128bc103148ae696c219df52590214adc
Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
2017-11-02 09:17:27 +01:00

2 lines
128 B
Plaintext

ansible ALL=(root) NOPASSWD: /usr/bin/ansible localhost -m find_disks -a *, /usr/local/bin/ansible localhost -m find_disks -a *