From 00fd4c8beaae8bc80c9e09570291b1557e1cc274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Fri, 9 Nov 2018 16:39:11 +0000 Subject: [PATCH] groupes --- linux/docker-ce.sls | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linux/docker-ce.sls b/linux/docker-ce.sls index 3ad8b92..5e2ee2d 100644 --- a/linux/docker-ce.sls +++ b/linux/docker-ce.sls @@ -70,6 +70,10 @@ IwanDocker: - name: iwan - fullname: Iwan CLEMENT - groups: + {% if grains['os'] == 'Debian' %} - docker + {% elif grains['os'] == 'CentOS' %} + - wheel + {% endif %} {% endif %} \ No newline at end of file