aboutsummaryrefslogtreecommitdiffstats
path: root/inventory-example/20-by-hostname.yml
blob: db1ba151ee65628b88d700f7af1c15645424c020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
plugin: constructed
strict: yes
groups:
  internal:                  inventory_hostname is not match('dmz-')
  dmz:                       inventory_hostname is match('dmz-')
  switches:                  inventory_hostname is match('switch[0-9]')
  access_points:             inventory_hostname is match('wap-')
  printers:                  inventory_hostname is match('printer[0-9]')
  cellphones:                inventory_hostname is match('pixel')
  phones:                    inventory_hostname is match('phone[0-9]')
  opnsense_firewalls:        inventory_hostname is match('opnsense[0-9]')
  proxmox_hypervisors:       inventory_hostname is match('proxmox[0-9]')
  nfs_servers:               inventory_hostname is match('nas[0-9]')
  linux_desktops:            inventory_hostname is match('tuxstation[0-9]')
  linux_laptops:             inventory_hostname is match('tuxbook[0-9]')
  freeipa_servers:           inventory_hostname is match('freeipa[0-9]')
  unifi_controllers:         inventory_hostname is match('unifi[0-9]')
  yum_mirrors:               inventory_hostname is match('yum[0-9]')
  syslog_servers:            inventory_hostname is match('syslog[0-9]')
  mail_servers:              inventory_hostname is match('(dmz-)?mx[0-9]')
  imap_servers:              inventory_hostname is match('imap[0-9]')
  radius_servers:            inventory_hostname is match('radius[0-9]')
  postgresql_servers:        inventory_hostname is match('postgres[0-9]')
  ttrss_servers:             inventory_hostname is match('ttrss[0-9]')
  znc_servers:               inventory_hostname is match('znc[0-9]')
  dav_servers:               inventory_hostname is match('dav[0-9]')
  bitwarden_servers:         inventory_hostname is match('bitwarden[0-9]')
  cups_servers:              inventory_hostname is match('cups[0-9]')
  xmpp_servers:              inventory_hostname is match('(dmz-)?xmpp[0-9]')
  dev_servers:               inventory_hostname is match('dev[0-9]')
  web_servers:               inventory_hostname is match('(dmz-)?www[0-9]')
  git_servers:               inventory_hostname is match('(dmz-)?git[0-9]')
  syncthing_servers:         inventory_hostname is match('syncthing[0-9]')
  wiki_servers:              inventory_hostname is match('(dmz-)?wiki[0-9]')
  jellyfin_servers:          inventory_hostname is match('jellyfin[0-9]')
  privbrowse_servers:        inventory_hostname is match('privbrowse[0-9]')
  nagios_servers:            inventory_hostname is match('nagios[0-9]')
  archive_servers:           inventory_hostname is match('archive[0-9]')
  photostructure_servers:    inventory_hostname is match('photostructure[0-9]')
  rspamd_servers:            inventory_hostname is match('rspamd[0-9]')
  authoritative_nameservers: inventory_hostname is match('(dmz-)?dns[0-9]')
  turn_servers:              inventory_hostname is match('(dmz-)?turn[0-9]')
  asterisk_servers:          inventory_hostname is match('(dmz-)?asterisk[0-9]')
  matrix_servers:            inventory_hostname is match('(dmz-)?matrix[0-9]')