robertdebock.remi

Ansible角色 remi

在您的系统上安装和启用remi yum存储库。

GitHub GitLab 下载量 版本
github gitlab downloads Version

示例剧本

这个示例来自molecule/default/converge.yml,并在每次推送、拉取请求和发布时进行测试。

---
- name: Converge
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: robertdebock.remi
      remi_enabled_repositories: php74

机器需要做好准备。在CI中,这通过molecule/default/prepare.yml完成:

---
- name: Prepare
  hosts: all
  become: true
  gather_facts: false

  roles:
    - role: robertdebock.bootstrap
    - role: robertdebock.epel

有关如何使用这些角色的完整说明和示例

角色变量

变量的默认值设置在defaults/main.yml中:

---
# remi的默认文件

remi_repository_selection: php81

要求

已使用角色的状态

以下角色用于准备系统。您可以以其他方式准备您的系统。

要求 GitHub GitLab
robertdebock.bootstrap Build Status GitHub Build Status GitLab
robertdebock.epel Build Status GitHub Build Status GitLab

上下文

这个角色是许多兼容角色的一部分。有关更多信息,请查看这些角色的文档

以下是相关角色的概览: dependencies

兼容性

该角色已在以下容器镜像上进行测试:

容器 标签
EL 9

所需的最低Ansible版本为2.12,已进行以下测试:

  • 之前的版本。
  • 当前版本。
  • 开发版本。

如果您发现问题,请在GitHub上提交。

许可证

Apache-2.0

作者信息

robertdebock

请考虑赞助我

关于项目

Install and enable remi yum repositories on your system.

安装
ansible-galaxy install robertdebock.remi
许可证
apache-2.0
下载
43.3k
拥有者
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.