kurron.block-device

角色名称

将原始块存储转换为未分区的挂载文件系统。这在扩展虚拟块设备后需要增长文件系统时很有用。

要求

待办事项

角色变量

  • bd_install: true
  • bd_block_device: /dev/xvdf
  • bd_file_system: xfs
  • bd_mount_point: /var/lib/mysql
  • bd_label: MYSQL
  • bd_options: defaults

依赖

  • kurron.base

示例剧本

- hosts: servers
  roles:
      - { role: kurron.block-device,  bd_block_device: /dev/sdb, bd_mount_point: /mnt/data, bd_label: MYSQL, bd_options: noatime }

许可证

本项目根据 Apache 许可证版本 2.0,2004年1月 授权。

作者信息

作者网站

关于项目

Transforms raw storage into a working mounted partition.

安装
ansible-galaxy install kurron.block-device
许可证
apache-2.0
下载
580
拥有者
Software engineer with many years of JVM, cloud and container development experience.