Saltstack Official Linux Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

20 行
583B

  1. {%- from "linux/map.jinja" import storage with context %}
  2. {%- if storage.mount|length > 0 or storage.swap|length > 0 or storage.multipath.enabled or storage.lvm|length > 0 or storage.loopback|length > 0 %}
  3. include:
  4. {%- if storage.loopback|length > 0 %}
  5. - linux.storage.loopback
  6. {%- endif %}
  7. {%- if storage.mount|length > 0 %}
  8. - linux.storage.mount
  9. {%- endif %}
  10. {%- if storage.swap|length > 0 %}
  11. - linux.storage.swap
  12. {%- endif %}
  13. {%- if storage.lvm|length > 0 %}
  14. - linux.storage.lvm
  15. {%- endif %}
  16. {%- if storage.multipath.enabled %}
  17. - linux.storage.multipath
  18. {%- endif %}
  19. {%- endif %}