top.sls 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. - needrestart
  15. - network
  16. - ntp
  17. - postfix
  18. - rsyslog
  19. - screen
  20. - snmpd
  21. - ssh
  22. - sysctl
  23. - timezone
  24. - vim
  25. - unattended-upgrades
  26. #
  27. # Roles
  28. #
  29. # Roles no relevant here are
  30. # - batman_gw (require role "batman")
  31. # - bbr (require role "router")
  32. # Router
  33. nodes:{{ grains['id'] }}:roles:router:
  34. - match: pillar
  35. - bird
  36. # acme
  37. nodes:{{ grains['id'] }}:roles:acme:
  38. - match: pillar
  39. - acme
  40. # Batman node
  41. nodes:{{ grains['id'] }}:roles:batman:
  42. - match: pillar
  43. - batman
  44. - respondd
  45. # Batman gateway
  46. nodes:{{ grains['id'] }}:roles:batman_gw:
  47. - match: pillar
  48. - dhcp-server
  49. # Build-Server
  50. nodes:{{ grains['id'] }}:roles:build:
  51. - match: pillar
  52. - build
  53. # Fastd
  54. nodes:{{ grains['id'] }}:roles:fastd:
  55. - match: pillar
  56. - fastd
  57. # Grafana
  58. nodes:{{ grains['id'] }}:roles:grafana:
  59. - match: pillar
  60. - grafana
  61. # gogs
  62. nodes:{{ grains['id'] }}:roles:gogs:
  63. - match: pillar
  64. - gogs
  65. # KVM hosts
  66. nodes:{{ grains['id'] }}:roles:kvm:
  67. - match: pillar
  68. - kvm
  69. # (Authoritive?) DNS server
  70. nodes:{{ grains['id'] }}:roles:dns-server:
  71. - match: pillar
  72. - dns-server
  73. # Webfrontend
  74. nodes:{{ grains['id'] }}:roles:frontend:
  75. - match: pillar
  76. - nginx
  77. # DSL / PPPoE
  78. nodes:{{ grains['id'] }}:roles:pppoe:
  79. - match: pillar
  80. - pppoe
  81. # InfluxDB
  82. nodes:{{ grains['id'] }}:roles:influxdb:
  83. - match: pillar
  84. - influxdb
  85. # webserver
  86. nodes:{{ grains['id'] }}:roles:webserver:
  87. - match: pillar
  88. - nginx
  89. # yanic
  90. nodes:{{ grains['id'] }}:roles:yanic:
  91. - match: pillar
  92. - yanic
  93. # Docker
  94. nodes:{{ grains['id'] }}:roles:docker:
  95. - match: pillar
  96. - docker
  97. #
  98. # Grains
  99. #
  100. # apu2
  101. # Disabled for now
  102. # productname:apu2:
  103. # - match: grain
  104. # - apu2
  105. # Hardware nodes
  106. 'G@virtual:physical and not G@productname:apu2':
  107. - hardware