redbeard28.ruby
ANSIBLE-ROLE-RUBY
Ansible 角色安装 Ruby 语言
如何使用这个角色?
这个角色需要包含在一个剧本中。
像这样调用这个 Galaxy 角色:
ansible-galaxy install -r requirements.yml
在 requirements.yml 文件中:
# 从 GitHub 获取,覆盖名称并指定特定标签
- src: git+https://github.com/redbeard28/ansible-role-ruby.git
version: master
name: ansible-role-ruby
或者
- src: redbeard28.ruby
更多信息 => Ansible 文档
需求
- Ansible 2.9 及以上版本
角色变量
---
# 无
依赖
- redbeard28.bootstrap
示例剧本
包括如何使用你的角色的示例(例如,作为参数传递变量)对用户来说总是很好的:
- hosts: all
roles:
- { role: redbeard28.ruby, tags: mytags }
Molecule 测试框架
你可以使用 molecule 来测试这个角色。
image=debian tag="buster" molecule converge
image=debian tag="buster" molecule verify
作者信息
Jeremie CUADRADO¹ 来自 Redbeard-Consulting
安装
ansible-galaxy install redbeard28.ruby
许可证
Unknown
下载
74
拥有者