Remove sudo files for users, which still exists, but don't have enabled sudo.pull/94/head
- user: system_user_{{ name }} | - user: system_user_{{ name }} | ||||
- check_cmd: /usr/sbin/visudo -c -f | - check_cmd: /usr/sbin/visudo -c -f | ||||
{%- else %} | |||||
/etc/sudoers.d/90-salt-user-{{ name|replace('.', '-') }}: | |||||
file.absent | |||||
{%- endif %} | {%- endif %} | ||||
{%- else %} | {%- else %} |