diff options
author | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-02-04 01:23:43 -0500 |
---|---|---|
committer | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-02-04 01:52:13 -0500 |
commit | 0261e875679f1bf63c8d689da7fc7e014597885d (patch) | |
tree | 3f19cd74a0c1070944f75437f30b098d6ef2ffcb /inventory-example/20-by-hostname.yml | |
download | selfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.tar.gz selfhosted-0261e875679f1bf63c8d689da7fc7e014597885d.zip |
initial commit
Diffstat (limited to 'inventory-example/20-by-hostname.yml')
-rw-r--r-- | inventory-example/20-by-hostname.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/inventory-example/20-by-hostname.yml b/inventory-example/20-by-hostname.yml new file mode 100644 index 0000000..165bd37 --- /dev/null +++ b/inventory-example/20-by-hostname.yml @@ -0,0 +1,43 @@ +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]') |