title: How to create a pattern that matches Group A except host "test-host" and Group B?
body: <p>I have 2 groups of servers A and B, one of servers that I need to exclude is in group A</p>
  
  <p>I tried following pattern:</p>
  
  <pre><code>GroupA:!test-host,GroupB
  </code></pre>
  
  <p>Which results in 'no hosts matched'</p>
  
  <p>How can I do that?</p>