Update to 2020-04-29 18:01

master
Daniel Berteaud 5 years ago
parent 85f25d7f42
commit 90775dce80
  1. 4
      roles/sudo/defaults/main.yml
  2. 4
      roles/sudo/templates/fws.j2

@ -1,3 +1,7 @@
---
sudo_admin_groups: "{{ system_admin_groups | default(ad_auth | default(False) | ternary(['Domain\ Admins'],['admins'])) }}"
sudo_defaults: {}
# sudo_defaults:
# timestamp_timeout: 10

@ -1,3 +1,7 @@
{% for def in sudo_defaults.keys() | list %}
Defaults {{ def }}={{ sudo_defaults[def] }}
{% endfor %}
{% for group in sudo_admin_groups %}
%{{ group }} ALL=(ALL) ALL
{% endfor %}

Loading…
Cancel
Save