<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>When the instances register themselves with FreeIPA, their hostnames get changed to match their IP; that's a FreeIPA rule, I believe. So in this case, the hostname is 10.100.*.</p>
<p><span style="font-family: courier new,courier,monospace;">ubuntu@10:~$ hostname</span><br /><span style="font-family: courier new,courier,monospace;">10.100.15.130</span></p>
<p>On 2017-04-19 14:53, Jason B. Nance wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div style="font-family: lucida console,sans-serif; font-size: 10pt; color: #000000;">
<div style="font-family: lucida console,sans-serif; font-size: 10pt; color: #000000;">Hi Greg,<br />
<div>
<blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;">
<div>
<p>I'm trying to set up a rule based on server hostname. So for example, 10.100.* would be put into the 'developers' hostgroup. I can't figure out the proper format of the inclusive regex. I've tried:</p>
</div>
</blockquote>
<div>I believe that your regex needs to match the host name, not the IP address. Unless your host name is 10.100.<something> I don't think that will match. The regex for "anything" is ".*". I think that the pcre syntax is what is used.</div>
</div>
<div>Regards,</div>
<div> </div>
<div>j</div>
<div> </div>
</div>
</div>
</blockquote>
<p><br /></p>
</body></html>