non vagrant/dev environments can only run commands as root
This commit is contained in:
parent
79d1677e7f
commit
d1767ba253
1 changed files with 3 additions and 3 deletions
|
@ -16,11 +16,11 @@
|
||||||
|
|
||||||
# our plos active directory core groups sudoers permissions, filtered by environment
|
# our plos active directory core groups sudoers permissions, filtered by environment
|
||||||
{% set ad_group_maps = salt['grains.filter_by']({
|
{% 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' },
|
'vagrant': { 'default': 'ALL = (ALL:ALL) NOPASSWD: ALL' },
|
||||||
'dev': { 'default': 'ALL = (ALL:ALL) NOPASSWD: ALL' },
|
'dev': { 'default': 'ALL = (ALL:ALL) NOPASSWD: ALL' },
|
||||||
'qa': { 'default': 'ALL = (ALL:ALL) NOPASSWD: SUPPORT',
|
'qa': { 'default': 'ALL = (root) NOPASSWD: SUPPORT',
|
||||||
'plosqa': 'ALL = (ALL:ALL) NOPASSWD: ALL' },
|
'plosqa': 'ALL = (root) NOPASSWD: ALL' },
|
||||||
},
|
},
|
||||||
grain='environment',
|
grain='environment',
|
||||||
merge=salt['pillar.get']('group_maps:lookup', None))
|
merge=salt['pillar.get']('group_maps:lookup', None))
|
||||||
|
|
Loading…
Reference in a new issue