openstack-ansible-os_designate/templates/sudoers.j2
Jesse Pretorius a07a073cc1 Various changes to make convergence test work
- Ensure that rootwrap files are appropriately secured.
 - Implement sudoers to make rootwrap work.
 - Restructure tests to reduce duplication.
2016-03-14 12:34:48 +00:00

7 lines
331 B
Django/Jinja

# {{ ansible_managed }}
Defaults:{{ designate_system_user_name }} !requiretty
Defaults:{{ designate_system_user_name }} secure_path="{{ designate_bin }}:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
{{ designate_system_user_name }} ALL = (root) NOPASSWD: {{ designate_bin }}/{{ designate_service_name }}-rootwrap