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