# platform = multi_platform_all
# reboot = false
# strategy = restrict
# complexity = low
# disruption = low

- name: Ensure env_reset is enabled in /etc/sudoers
  ansible.builtin.lineinfile:
    path: /etc/sudoers
    regexp: '^[\s]*Defaults.*\benv_reset\b.*$'
    line: 'Defaults env_reset'
    validate: /usr/sbin/visudo -cf %s
