PHP

Document Control

TODO:

  • Overall structure.
  • Initial draft complete
  • Testing
  • Ready

Ansible Role Ansible Quality Score Build Status GitHub issues GitHub last commit

User Story: PHP

As a: UNIX and Linux system administrator

I want to: setup Apache and PHP

So that: server dynamic webpages.

PHP

Using the role

Using the role in a playbook
---
- name: Install php
  hosts: all

  tasks:
    - name: php is configured
      import_role:
        name: devopstoolbox.php
      vars:
        php_enable_service: true
      tags: php
# Install the role
ansible-galaxy install devopstoolbox.php

# Run the playbook
ansible-playbook php-playbook.yml

Testing PHP with a phpinfo page


Last update: 2020-02-09