b0ef604a68
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>
2 lines
128 B
Plaintext
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 *
|