groups to optional_groups

This commit is contained in:
Iwan Clément
2018-12-30 10:51:21 +01:00
parent bebe08c381
commit 0b7308ed3c
2 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ IwanUser:
user.present:
- name: iwan
- fullname: Iwan CLEMENT
- groups:
- optional_groups:
{% if grains['os_family'] == 'Debian' %}
- sudo
{% if grains['os']== "Ubuntu" %}