Skip to content

Websoft9Archive/role_ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Ruby

本 Role 用于在PHP运行环境下安装 ruby

Requirements

运行本 Role,请确认符合如下的必要条件:

Items Details
Operating system CentOS7.x Ubuntu18.04 AmazonLinux
Python 版本 Python2
Python 组件
Runtime

Related roles

本 Role 在运行时需要确保已经运行:common。以下为例:

roles:
    - {role: role_common, tags: "role_common"}
    - {role: role_ruby, tags: "role_ruby"}

Variables

本 Role 主要变量以及使用方法如下:

Items Details Format 是否初始化
ruby_version [ 2.2, 2.3, 2.4, 2.5, 2.6 ] 字符串

Example

- name: ruby
  hosts: all
  become: yes
  become_method: sudo 
  vars_files:
    - vars/main.yml 

  roles:
    - { role: role_common }
    - { role: role_ruby }
    ...

FAQ

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages