1
0
Fork 0
mirror of synced 2024-11-05 17:08:56 -05:00

non vagrant/dev environments can only run commands as root

This commit is contained in:
bellaweo 2017-02-15 14:51:53 -08:00
parent 79d1677e7f
commit d1767ba253

View file

@ -16,11 +16,11 @@
# our plos active directory core groups sudoers permissions, filtered by environment
{% set ad_group_maps = salt['grains.filter_by']({
'default': { 'default': 'ALL = (ALL:ALL) NOPASSWD: SUPPORT' },
'default': { 'default': 'ALL = (root) NOPASSWD: SUPPORT' },
'vagrant': { 'default': 'ALL = (ALL:ALL) NOPASSWD: ALL' },
'dev': { 'default': 'ALL = (ALL:ALL) NOPASSWD: ALL' },
'qa': { 'default': 'ALL = (ALL:ALL) NOPASSWD: SUPPORT',
'plosqa': 'ALL = (ALL:ALL) NOPASSWD: ALL' },
'qa': { 'default': 'ALL = (root) NOPASSWD: SUPPORT',
'plosqa': 'ALL = (root) NOPASSWD: ALL' },
},
grain='environment',
merge=salt['pillar.get']('group_maps:lookup', None))