You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't look like the sudo_users.hosts variable supports an array. It would be nice to be able to input the hosts as an array and have the role create a Host_Alias section and then reference the Host_Alias in the configuration line:
sudo_users:
name: oracle
hosts:
oracle1.example.org
oracle2.example.org
Resulting sudoers file:
Host_Alias ORACLE_SERVERS=oracle1.example.org,oracle2.example.org
oracle ORACLE_SERVERS=(root) NOPASSWD: ALL
It doesn't look like the sudo_users.hosts variable supports an array. It would be nice to be able to input the hosts as an array and have the role create a Host_Alias section and then reference the Host_Alias in the configuration line:
sudo_users:
hosts:
Resulting sudoers file:
Host_Alias ORACLE_SERVERS=oracle1.example.org,oracle2.example.org
oracle ORACLE_SERVERS=(root) NOPASSWD: ALL
This would of course rely on #30
The text was updated successfully, but these errors were encountered: