openstack-ansible-os_ironic/templates/sudoers.j2
2015-11-26 22:18:44 +10:30

7 lines
313 B
Django/Jinja

# {{ ansible_managed }}
Defaults:{{ ironic_system_user_name }} !requiretty
Defaults:{{ ironic_system_user_name }} secure_path="{{ ironic_bin }}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
{{ ironic_system_user_name }} ALL = (root) NOPASSWD: {{ ironic_bin }}/{{ ironic_service_name }}-rootwrap