supertarto.php

Ansible PHP

CI

使用 Ansible 安装和配置 PHP。

需求

测试平台

  • Debian 10 (Buster)
  • Debian 11 (Bullseye)
  • Debian 12 (Bookworm)

角色变量

角色安装的软件包列表。目前还无法从源代码安装 PHP。

php_packages:
  - "php{{php_default_version_debian}}"

默认版本值在 vars 文件夹中定义,基于 Debian 版本。

PHP 使用的 Web 服务器守护进程的名称。例如:apache2、httpd、nginx... 必须指定。

php_webserver_daemon: "apache2"

示例

---
- hosts: somehost
  roles:
    - supertarto.php

安装

ansible-galaxy role install supertarto.php

许可证

GPL V3.0

关于项目

Install and configure PHP

安装
ansible-galaxy install supertarto.php
许可证
gpl-3.0
下载
1.1k
拥有者