buluma.revealmd
Ansible角色 revealmd
在您的系统上安装和配置revealmd。
GitHub | 版本 | 问题 | 拉取请求 | 下载 |
---|---|---|---|---|
示例剧本
这个示例取自 molecule/default/converge.yml
,在每次推送、拉取请求和发布时进行测试。
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: buluma.revealmd
机器需要被准备好。在CI中使用 molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
become: true
gather_facts: false
roles:
- role: buluma.bootstrap
- role: buluma.epel
- role: buluma.git
- role: buluma.npm
另请参阅 完整说明和示例,了解如何使用这些角色。
角色变量
变量的默认值设置在 defaults/main.yml
中:
---
# revealmd的默认文件
# reveal-md 应该查找演示文稿的目录。
revealmd_directory: /data
# 要处理的具体演示文稿
revealmd_presentation: index.md
# reveal-md 应该监听的tcp端口。
revealmd_port: 1948
# 使用的主题。
# https://github.com/highlightjs/highlight.js/tree/master/src/styles
revealmd_options: --theme black
要求
- requirements.txt中列出的pip包。
使用的角色状态
以下角色用于准备系统。您可以以其他方式准备您的系统。
需求 | GitHub | 版本 |
---|---|---|
buluma.bootstrap | ||
buluma.epel | ||
buluma.git | ||
buluma.npm | ||
buluma.service |
上下文
此角色是多个兼容角色的一部分。有关更多信息,请查看 这些角色的文档。
以下是相关角色的概述:
兼容性
该角色已在以下 容器镜像 中进行测试:
容器 | 标签 |
---|---|
EL | 8 |
Debian | bullseye |
Fedora | all |
所需的最小Ansible版本为2.12,测试已在以下版本上进行:
- 先前版本
- 当前版本
- 开发版本
如果发现问题,请在 GitHub 上注册。