1
0
Fork 0

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
1 changed files with 3 additions and 3 deletions

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))