{"id":21163456,"url":"https://github.com/punktde/ansible-proserver-php","last_synced_at":"2026-05-08T09:35:22.889Z","repository":{"id":139102568,"uuid":"121611114","full_name":"punktDe/ansible-proserver-php","owner":"punktDe","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-16T13:58:51.000Z","size":150,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-02-16T16:27:41.627Z","etag":null,"topics":["ansible","php","proserver"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/punktDe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-02-15T09:28:52.000Z","updated_at":"2026-02-16T13:58:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"48cdd4d2-7666-4782-bdaa-96495fb24b1b","html_url":"https://github.com/punktDe/ansible-proserver-php","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/punktDe/ansible-proserver-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punktDe%2Fansible-proserver-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punktDe%2Fansible-proserver-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punktDe%2Fansible-proserver-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punktDe%2Fansible-proserver-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/punktDe","download_url":"https://codeload.github.com/punktDe/ansible-proserver-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/punktDe%2Fansible-proserver-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32775135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","php","proserver"],"created_at":"2024-11-20T13:47:00.673Z","updated_at":"2026-05-08T09:35:22.857Z","avatar_url":"https://github.com/punktDe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- BEGIN_ANSIBLE_DOCS --\u003e\n\u003c!--\nDo not edit README.md directly!\n\nThis file is generated automatically by aar-doc and will be overwritten.\n\nPlease edit meta/argument_specs.yml instead.\n--\u003e\n# ansible-proserver-php\n\nphp role for Proserver\n\n## Supported Operating Systems\n\n- Debian 12, 13\n- Ubuntu 24.04, 22.04\n- FreeBSD [Proserver](https://infrastructure.punkt.de/de/produkte/proserver.html)\n\n## Role Arguments\n\n\n\nDefault variables that begin with `ansible_local` are populated using the PHP fact script (files/php.fact.py).\n\nThis scripts detects many PHP-related variables automatically depending on the system (e.g. PHP version, PHP-FPM service name, configuration, directories).\n\nThe fact script is copied to the target machine at the beginning of the role execution, even in `check_mode`.\n\nApart from `php.version` (on a Debian-based system), you probably shouldn't change the variables starting with `ansible_local`, unless you know what you're doing.\n\n#### Options for `php`\n\n|Option|Description|Type|Required|Default|\n|---|---|---|---|---|\n| `repository` | Configuration for an optional 3rd party APT repository used to install alternative PHP versions (Debian-based only) | dict of 'repository' options | yes |  |\n| `version` | PHP version to install on the target machine. Only applies to Debian-based systems. On FreeBSD Proserver-based systems, PHP is pre-installed based on the system Blueprint and detected automatically; no manual setting needed. On Debian-based systems, this option defaults to the latest version available from your system's repositories However, if `php.repository.apt.enabled` is set to true, this can be set to any version of PHP available in the third-party repo. To check which versions of PHP are available on your system, run `apt search --names-only php` | str | no | {{ ansible_local.php.version | default('') }} |\n| `prefix` | Directories for PHP configuration files (e.g. php.ini). Defaults to `config: \"/etc/php/{{ php.version }}/cli\"` on Linux and `config: \"/usr/local/etc\"` on FreeBSD. Most of the time, you probably don't need to change this variable. | dict | no | \"{{ ansible_local.php.prefix | default({}) }}\" |\n| `php.ini` | Defines config options to be written into php.ini. The options are defined as key-value pairs in a YAML dictionary, e.g. `memory_limit: 2G` or `upload_max_filesize: 500M` | dict | no |  |\n| `fpm` | PHP-FPM configuration | dict of 'fpm' options | yes |  |\n| `phpfpmtop` | Options for phpfpmtop, a performance monitor for PHP-FPM. | dict of 'phpfpmtop' options | no |  |\n| `install_extensions` | Defines PHP extensions to be installed on the target machine in the `{'extension_name': true}` format, e.g. `{'pdo-mysql': true, 'mbstring': true}`. Only applies to Debian-based targets. | dict | no |  |\n| `install_composer` | Whether to install [Composer](https://getcomposer.org) on the target machine. Only applies to Debian-based targets. | bool | no | False |\n| `modules` | Options for managing PHP modules. | dict of 'modules' options | no |  |\n\n#### Options for `php.repository`\n\n|Option|Description|Type|Required|Default|\n|---|---|---|---|---|\n| `apt` |  | dict of 'apt' options | yes |  |\n\n#### Options for `php.repository.apt`\n\n|Option|Description|Type|Required|Default|\n|---|---|---|---|---|\n| `enabled` | Whether the 3rd party APT repository should be installed and used | bool | no | False |\n| `key_url` | URL for the GPG key used to signed the APT repository | str | yes |  |\n| `repository` | URL for the APT repository | str | yes |  |\n\n#### Options for `php.fpm`\n\n|Option|Description|Type|Required|Default|\n|---|---|---|---|---|\n| `service` | PHP-FPM service name | str | no | {{ ansible_local.php.fpm.service | default('') }} |\n| `prefix` | Path to PHP-FPM configuration files. Contains \"config\" and \"pool_config\" parameters, which default to `/usr/local/etc and /usr/local/etc/php-fpm.d` on FreeBSD, and `/etc/php/{{ php.version }}/fpm` and `/etc/php/{{ php.version }}/fpm/pool.d` on Linux respectively. | str | no | {{ ansible_local.php.fpm.prefix | default({}) }} |\n| `pools` | Defines PHP-FPM pools. By default, only `www` pool is defined which runs under user `proserver:proserver` | dict | no | {\"www\": {\"user\": \"proserver\", \"group\": \"proserver\", \"listen.owner\": \"proserver\", \"listen.group\": \"{{ ansible_local.php.fpm.pools.www['listen.group'] | default('') }}\", \"listen\": \"{{ ansible_local.php.fpm.pools.www.listen | default({}) }}\"}} |\n\n#### Options for `php.phpfpmtop`\n\n|Option|Description|Type|Required|Default|\n|---|---|---|---|---|\n| `release` |  | dict of 'release' options | no |  |\n\n#### Options for `php.phpfpmtop.release`\n\n|Option|Description|Type|Required|Default|\n|---|---|---|---|---|\n| `url` | URL to the phpfpmtop binary. | str | no |  |\n| `checksum` | SHA256 checksum of the phpfpmtop binary. | str | no |  |\n\n#### Options for `php.modules`\n\n|Option|Description|Type|Required|Default|\n|---|---|---|---|---|\n| `disable` | Defines which PHP modules should be disabled globally, for CLI, or on a per-user basis. | dict of 'disable' options | no | {'cli': [], 'all': [], 'for_users': []} |\n\n#### Options for `php.modules.disable`\n\n|Option|Description|Type|Required|Default|\n|---|---|---|---|---|\n| `all` | List of PHP modules to disable for all SAPIs. | list of '' | no | [] |\n| `cli` | List of PHP modules to disable for CLI specifically. | list of '' | no | [] |\n| `for_users` | List of users whose shell configuration should enforce `PHP_INI_SCAN_DIR` pointing to the CLI modules directory. | list of '' | no | [] |\n\n## Dependencies\nNone.\n\n## Installation\nAdd this role to the requirements.yml of your playbook as follows:\n```yaml\nroles:\n  - name: ansible-proserver-php\n    src: https://github.com/punktDe/ansible-proserver-php\n```\n\nAfterwards, install the role by running `ansible-galaxy install -r requirements.yml`\n\n## Example Playbook\n\n```yaml\n- hosts: all\n  roles:\n    - name: ansible-proserver-php\n```\n\n\u003c!-- END_ANSIBLE_DOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunktde%2Fansible-proserver-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpunktde%2Fansible-proserver-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpunktde%2Fansible-proserver-php/lists"}