.. _host-pattern: Host Patterns ============= See `ansible host patterns doc `_ for host patterns. : "all" = all hosts in inventory file "*" = all hosts in inventory file "~" = use regex syntax for this pattern ":" = include all hosts that match pattern1 OR pattern2 ":&" = include all hosts that match pattern1 AND pattern2 ":!" = include all hosts that match pattern1 but NOT pattern2