Skip to content

An Ansible role to add Ondřej Surý's PHP repository to Debian-based hosts

Notifications You must be signed in to change notification settings

emielmolenaar/ansible-role-php-repo-sury

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Ondřej Surý's PHP packages repository role for Ansible

A simple role for adding the Ondřej Surý PHP repository on your APT-enabled hosts using Ansible.

Usage

This role uses APT to ensure the repository is added on your hosts. You might checkout Jeff Geerling's PHP Role for actually installing and configuring PHP on your hosts.

Clone this repo into your roles directory:

$ git clone https://github.com/emielmolenaar/ansible-role-php-repo-sury.git roles/php-repo-sury

And add it to your play's roles:

- hosts: ...
  roles:
    - php-repo-sury
    - ...

I recommend using a requirements.yml in your roles directory though:

- src: https://github.com/emielmolenaar/ansible-role-php-repo-sury.git
  name: php-repo-sury

Installing the role will require a ansible-galaxy install -r ./roles/requirements.yml -p ./roles from the root directory of your playbook.

Thanks

Thanks to the efforts of Ondřej Surý and Jeff Geerling, life is so much easier!

About

An Ansible role to add Ondřej Surý's PHP repository to Debian-based hosts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published