top.sls 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. base:
  2. # Base config for all minions
  3. '*':
  4. - ffinfo
  5. - apt
  6. - bash
  7. - certs
  8. - console-tools
  9. - icinga2
  10. - kernel
  11. - locales
  12. - mosh
  13. - motd
  14. - network
  15. - ntp
  16. - postfix
  17. - rsyslog
  18. - screen
  19. - snmpd
  20. - ssh
  21. - sysctl
  22. - vim
  23. - unattended-upgrades
  24. # - tinc
  25. #
  26. # Roles
  27. #
  28. # Roles no relevant here are
  29. # - batman_gw (require role "batman")
  30. # - bbr (require role "router")
  31. # Router
  32. nodes:{{ grains['id'] }}:roles:router:
  33. - match: pillar
  34. - bird
  35. # Batman node
  36. nodes:{{ grains['id'] }}:roles:batman:
  37. - match: pillar
  38. - batman
  39. - respondd
  40. # Batman gateway
  41. nodes:{{ grains['id'] }}:roles:batman_gw:
  42. - match: pillar
  43. - dhcp-server
  44. # BRAS / Fastd
  45. nodes:{{ grains['id'] }}:roles:fastd:
  46. - match: pillar
  47. - fastd
  48. # Grafana
  49. nodes:{{ grains['id'] }}:roles:grafana:
  50. - match: pillar
  51. - grafana
  52. # gogs
  53. nodes:{{ grains['id'] }}:roles:gogs:
  54. - match: pillar
  55. - gogs
  56. # Hardware nodes
  57. virtual:physical:
  58. - match: grain
  59. - hardware
  60. # KVM hosts
  61. nodes:{{ grains['id'] }}:roles:kvm:
  62. - match: pillar
  63. - kvm
  64. # Authoritive DNS server
  65. nodes:{{ grains['id'] }}:roles:dns-auth:
  66. - match: pillar
  67. - dns-server.auth
  68. # Webfrontend
  69. nodes:{{ grains['id'] }}:roles:frontend:
  70. - match: pillar
  71. - nginx
  72. # DSL / PPPoE
  73. nodes:{{ grains['id'] }}:roles:pppoe:
  74. - match: pillar
  75. - pppoe
  76. # InfluxDB
  77. nodes:{{ grains['id'] }}:roles:influxdb:
  78. - match: pillar
  79. - influxdb
  80. # yanic
  81. nodes:{{ grains['id'] }}:roles:yanic:
  82. - match: pillar
  83. - yanic